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
ToDirectedDykstraSource<T>(RouterPoint, RouterDb, WeightHandler<T>, Boolean)
Converts the router point to a directed dykstra source.
Declaration
public static DirectedDykstraSource<T> ToDirectedDykstraSource<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
|
DirectedDykstraSource<T>
|
Type Parameters
|
T
|
ToDirectedDykstraSource<T>(RouterPoint, Boolean, RouterDb, WeightHandler<T>)
Converts the router point to a directed dykstra source.
Declaration
public static DirectedDykstraSource<T> ToDirectedDykstraSource<T>(this RouterPoint point, bool forward, RouterDb routerDb, WeightHandler<T> weightHandler)where T : struct
Parameters
|
RouterPoint
point
|
|
System.Boolean
forward
Only move in the forward direction of the edge associated with the routerpoint. |
|
RouterDb
routerDb
The routerDb |
|
WeightHandler<T>
weightHandler
The weight handler. |
Returns
|
DirectedDykstraSource<T>
|
Type Parameters
|
T
|
ToDirectedDykstraSources<T>(RouterPoint[], RouterDb, WeightHandler<T>, Boolean)
Converts the router points to a directed dykstra source.
Declaration
public static DirectedDykstraSource<T>[] ToDirectedDykstraSources<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
|
DirectedDykstraSource<T>[]
|
Type Parameters
|
T
|
ToDirectedDykstraSources<T>(RouterPoint[], Boolean, RouterDb, WeightHandler<T>)
Converts the router points to a directed dykstra source.
Declaration
public static DirectedDykstraSource<T>[] ToDirectedDykstraSources<T>(this RouterPoint[] points, bool forward, RouterDb routerDb, WeightHandler<T> weightHandler)where T : struct
Parameters
|
RouterPoint[]
points
|
|
System.Boolean
forward
The forward flag. |
|
RouterDb
routerDb
The routerDb. |
|
WeightHandler<T>
weightHandler
The weight handler. |
Returns
|
DirectedDykstraSource<T>[]
|
Type Parameters
|
T
|
ToDirectedDykstraSources<T>(RouterPoint[], Boolean[], RouterDb, WeightHandler<T>)
Converts the router points to a directed dykstra source.
Declaration
public static DirectedDykstraSource<T>[] ToDirectedDykstraSources<T>(this RouterPoint[] points, bool[] forwards, RouterDb routerDb, WeightHandler<T> weightHandler)where T : struct
Parameters
|
RouterPoint[]
points
|
|
System.Boolean[]
forwards
The forward flags. |
|
RouterDb
routerDb
The routerDb. |
|
WeightHandler<T>
weightHandler
The weight handler. |
Returns
|
DirectedDykstraSource<T>[]
|
Type Parameters
|
T
|