Random Target In Polygon On Map
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>
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
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Detects if the move is in absolute or relative coordinates, then calls the correct method on the Environment.
Link copied to clipboard
Link copied to clipboard