RandomTargetInPolygonOnMap
class RandomTargetInPolygonOnMap<T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>>( environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, speed: Double, val positionGenerator: Polygon<GeoPosition>) : MoveOnMap<T, O, S>
Content copied to clipboard
This actions generates random waypoints inside a Polygon. The polygon can be provided either through as a deployment (positionGenerator), or as List<List<Number>>
(polygonCoordinates
)
Constructors
Link copied to clipboard
fun <T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>> RandomTargetInPolygonOnMap( randomGenerator: RandomGenerator, environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, speed: Double, polygonCoordinates: List<List<Number>>)
Content copied to clipboard
Link copied to clipboard
fun <T, O : RoutingServiceOptions<O>, S : RoutingService<GeoPosition, O>> RandomTargetInPolygonOnMap( environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: Reaction<T>, speed: Double, positionGenerator: Polygon<GeoPosition>)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard