WeatherZone

data class WeatherZone(val id: String, val center: Position, val radius: Double, val activeFromTick: Int = 0, val activeUntilTick: Int? = null)(source)

Circular weather constraint that may become active during a scenario.

Active weather zones are treated as forbidden route areas by the replanning layer.

Constructors

Link copied to clipboard
constructor(id: String, center: Position, radius: Double, activeFromTick: Int = 0, activeUntilTick: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard

Functions

Link copied to clipboard
fun isActiveAt(tick: Int): Boolean