Class RouterPointExtensions
Contains extension methods related to the routerpoints.
Inheritance
System.Object
RouterPointExtensions
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 static class RouterPointExtensions
Methods
ToDualDykstraSource<T>(RouterPoint, RouterDb, WeightHandler<T>, Boolean)
Converts the router point to vertex and weights with vertex id being the directed edge id. This results in one dykstra source of this routerpoint.
Declaration
public static DykstraSource<T> ToDualDykstraSource<T>(this RouterPoint point, RouterDb routerDb, WeightHandler<T> weightHandler, bool asSource)where T : struct
Parameters
|
RouterPoint
point
|
|
RouterDb
routerDb
|
|
WeightHandler<T>
weightHandler
|
|
System.Boolean
asSource
|
Returns
|
DykstraSource<T>
|
Type Parameters
|
T
|
ToDualDykstraSources<T>(RouterPoint[], RouterDb, WeightHandler<T>, Boolean)
Converts all the router points to vertex and weights with vertex id being the directed edge id. This results in one dykstra source of this routerpoint.
Declaration
public static DykstraSource<T>[] ToDualDykstraSources<T>(this RouterPoint[] points, RouterDb routerDb, WeightHandler<T> weightHandler, bool asSource)where T : struct
Parameters
|
RouterPoint[]
points
|
|
RouterDb
routerDb
|
|
WeightHandler<T>
weightHandler
|
|
System.Boolean
asSource
|
Returns
|
DykstraSource<T>[]
|
Type Parameters
|
T
|