Show / Hide Table of Contents

Class ReferencedLine

Represents a referenced line location with a graph as a reference.

Inheritance
System.Object
ReferencedLocation
ReferencedLine
Inherited Members
System.Object.ToString()
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 ReferencedLine : ReferencedLocation

Constructors

ReferencedLine()

Creates a new referenced line.

Declaration
public ReferencedLine()

Properties

Edges

Gets or sets the edges in the form of directed edge id's.

Declaration
public long[] Edges { get; set; }
Property Value
System.Int64[]

EndLocation

Gets or sets the end location.

Declaration
public RouterPoint EndLocation { get; set; }
Property Value
RouterPoint

Remarks

When the end vertex in the vertices array equals Itinero.Constants.NO_VERTEX this location is not a vertex but a location on the last edge.

NegativeOffsetPercentage

Gets or sets the offset at the end of the path representing this location.

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

PositiveOffsetPercentage

Gets or sets the offset at the beginning of the path representing this location.

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

StartLocation

Gets or sets the start location.

Declaration
public RouterPoint StartLocation { get; set; }
Property Value
RouterPoint

Remarks

When the first vertex in the vertices array equals Itinero.Constants.NO_VERTEX this location is not a vertex but a location on the first edge.

Vertices

Gets or sets the vertices.

Declaration
public uint[] Vertices { get; set; }
Property Value
System.UInt32[]

Methods

Add(ReferencedLine)

Adds another line location to this one.

Declaration
public void Add(ReferencedLine location)
Parameters
ReferencedLine location

Clone()

Creates a new object that is a copy of the current instance.

Declaration
public override object Clone()
Returns
System.Object

Overrides
ReferencedLocation.Clone()
Back to top Built by Itinero, MIT licensed.