Interface IRoutingPointsGenerator
To efficiently find a route within a cartesian area, we need routing points of a mesh to build a graph for the route search.
Namespace: Mars.Components.Environments.Cartesian.Routing
Assembly: Mars.Components.dll
Syntax
public interface IRoutingPointsGenerator
Methods
| Improve this Doc View SourceGenerate(BoundingBox, IEnumerable<Geometry>)
Generates routing points within the area that is spanned by the envelope.
Declaration
IList<Position> Generate(BoundingBox boundingBox, IEnumerable<Geometry> geometries = null)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | boundingBox | Define the extent of the cartesian area |
System.Collections.Generic.IEnumerable<NetTopologySuite.Geometries.Geometry> | geometries | Can be used to find well located routing points |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<Position> | All routing points within the envelope. |