Class RandomRoutingPointsGenerator
Randomly generates points within the geometry envelope and discards those that intersect with the geometries.
Inheritance
System.Object
RandomRoutingPointsGenerator
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Components.Environments.Cartesian.Routing
Assembly: Mars.Components.dll
Syntax
public class RandomRoutingPointsGenerator : IRoutingPointsGenerator
Constructors
| Improve this Doc View SourceRandomRoutingPointsGenerator(Int32)
Randomly generates points within the geometry envelope and discards those that intersect with the geometries.
Declaration
public RandomRoutingPointsGenerator(int routingPointsCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | routingPointsCount |
Methods
| Improve this Doc View SourceGenerate(BoundingBox, IEnumerable<Geometry>)
Randomly generates points within the geometry envelope and discards those that intersect with the geometries.
Declaration
public IList<Position> Generate(BoundingBox boundingBox, IEnumerable<Geometry> geometries = null)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | boundingBox | |
System.Collections.Generic.IEnumerable<NetTopologySuite.Geometries.Geometry> | geometries |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<Position> |