Show / Hide Table of Contents

Class RoutingNetwork.EdgeEnumerator

An edge enumerator.

Inheritance
System.Object
RoutingNetwork.EdgeEnumerator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class EdgeEnumerator : IEnumerable<RoutingEdge>, IEnumerator<RoutingEdge>

Properties

Current

Returns the current edge.

Declaration
public RoutingEdge Current { get; }
Property Value
RoutingEdge

Data

Returns the edge data.

Declaration
public EdgeData Data { get; }
Property Value
EdgeData

DataInverted

Returns true if the edge data is inverted by default.

Declaration
public bool DataInverted { get; }
Property Value
System.Boolean

From

Returns the vertex at the beginning.

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

HasData

Returns true if there is at least one edge.

Declaration
public bool HasData { get; }
Property Value
System.Boolean

Id

Returns the id of the current edge.

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

Shape

Gets the shape.

Declaration
public ShapeBase Shape { get; }
Property Value
ShapeBase

To

Returns the vertex at the end.

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

Methods

Dispose()

Disposes.

Declaration
public void Dispose()

GetEnumerator()

Gets the enumerator.

Declaration
public IEnumerator<RoutingEdge> GetEnumerator()
Returns
IEnumerator<RoutingEdge>

MoveNext()

Moves to the next edge.

Declaration
public bool MoveNext()
Returns
System.Boolean

MoveTo(UInt32)

Moves to the given vertex.

Declaration
public bool MoveTo(uint vertex)
Parameters
System.UInt32 vertex

Returns
System.Boolean

MoveToEdge(UInt32)

Moves to the given edge.

Declaration
public void MoveToEdge(uint edgeId)
Parameters
System.UInt32 edgeId

Reset()

Resets this enumerator.

Declaration
public void Reset()

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets the enumerator.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

IEnumerator.Current

Returns the current edge.

Declaration
object IEnumerator.Current { get; }
Returns
System.Object

Back to top Built by Itinero, MIT licensed.