Class RouterDbExtensions
Contains extensions for the router db.
Inheritance
System.Object
RouterDbExtensions
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 RouterDbExtensions
Methods
GetFeatureForEdge(RouterDb, UInt32)
Gets a feature representing the edge with the given id.
Declaration
public static Feature GetFeatureForEdge(this RouterDb routerDb, uint edgeId)
Parameters
|
RouterDb
routerDb
|
|
System.UInt32
edgeId
|
Returns
|
Feature
|
GetFeatureForVertex(RouterDb, UInt32)
Gets a features representing the vertex with the given id.
Declaration
public static Feature GetFeatureForVertex(this RouterDb routerDb, uint vertex)
Parameters
|
RouterDb
routerDb
|
|
System.UInt32
vertex
|
Returns
|
Feature
|
GetFeatures(RouterDb)
Gets all features.
Declaration
public static FeatureCollection GetFeatures(this RouterDb db)
Parameters
|
RouterDb
db
|
Returns
|
FeatureCollection
|
GetFeaturesIn(RouterDb, Coordinate, Coordinate, Boolean, Boolean)
Gets all features inside the given bounding box.
Declaration
public static FeatureCollection GetFeaturesIn(this RouterDb db, Coordinate coord1, Coordinate coord2, bool includeEdges = true, bool includeVertices = true)
Parameters
|
RouterDb
db
|
|
Coordinate
coord1
|
|
Coordinate
coord2
|
|
System.Boolean
includeEdges
|
|
System.Boolean
includeVertices
|
Returns
|
FeatureCollection
|
GetFeaturesIn(RouterDb, Single, Single, Single, Single, Boolean, Boolean)
Gets all features inside the given bounding box.
Declaration
public static FeatureCollection GetFeaturesIn(this RouterDb db, float minLatitude, float minLongitude, float maxLatitude, float maxLongitude, bool includeEdges = true, bool includeVertices = true)
Parameters
|
RouterDb
db
|
|
System.Single
minLatitude
|
|
System.Single
minLongitude
|
|
System.Single
maxLatitude
|
|
System.Single
maxLongitude
|
|
System.Boolean
includeEdges
|
|
System.Boolean
includeVertices
|
Returns
|
FeatureCollection
|