Show / Hide Table of Contents

Class RouterPoint

Represents a resolved point. A hook for the router to route on.

Inheritance
System.Object
RouterPoint
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class RouterPoint

Constructors

RouterPoint(Single, Single, UInt32, UInt16)

Creates a new router point.

Declaration
public RouterPoint(float latitude, float longitude, uint edgeId, ushort offset)
Parameters
System.Single latitude

The latitude of the original location.

System.Single longitude

The longitude of the original location.

System.UInt32 edgeId

The edge id.

System.UInt16 offset

The offset.

RouterPoint(Single, Single, UInt32, UInt16, Attribute[])

Creates a new router point.

Declaration
public RouterPoint(float latitude, float longitude, uint edgeId, ushort offset, params Attribute[] attributes)
Parameters
System.Single latitude

The latitude of the original location.

System.Single longitude

The longitude of the original location.

System.UInt32 edgeId

The edge id.

System.UInt16 offset

The offset.

Attribute[] attributes

Meta-data about this point.

Properties

Attributes

Gets/sets meta-data about this point..

Declaration
public IAttributeCollection Attributes { get; }
Property Value
IAttributeCollection

EdgeId

Gets the edge id.

Declaration
public uint EdgeId { get; }
Property Value
System.UInt32

Latitude

Gets the latitude of the original location.

Declaration
public float Latitude { get; }
Property Value
System.Single

Longitude

Gets the longitude of the original location.

Declaration
public float Longitude { get; }
Property Value
System.Single

Offset

Gets the offset.

Declaration
public ushort Offset { get; }
Property Value
System.UInt16

Methods

ToString()

Returns a description of this router point.

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()
Back to top Built by Itinero, MIT licensed.