Class RandomRoutingPointsGenerator
Randomly generates points within the geometry envelope and discards those that intersect with the geometries.
Inheritance
System.Object
RandomRoutingPointsGenerator
Implements
Namespace: Mars.Components.Environments.Cartesian.Routing
Assembly: Mars.Components.dll
Syntax
public class RandomRoutingPointsGenerator : object, IRoutingPointsGenerator
Constructors
RandomRoutingPointsGenerator(Int32)
Declaration
public RandomRoutingPointsGenerator(int routingPointsCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | routingPointsCount |
Methods
Generate(BoundingBox, IEnumerable<Geometry>)
Declaration
public IList<Position> Generate(BoundingBox boundingBox, IEnumerable<Geometry> geometries = null)
Parameters
Type | Name | Description |
---|---|---|
BoundingBox | boundingBox | |
IEnumerable<Geometry> | geometries |
Returns
Type | Description |
---|---|
IList<Position> |