HorizonPosition

data class HorizonPosition(    val pathId: Int,     val offset: Distance,     val isOnRoad: Boolean,     val location: GeoLocation)

Current position in the horizon.

Constructors

Link copied to clipboard
fun HorizonPosition(    pathId: Int,     offset: Distance,     isOnRoad: Boolean,     location: GeoLocation)

Creates a horizon position.

Properties

Link copied to clipboard
val isOnRoad: Boolean

Flag to indicate whether the position is on road: true if on road, false otherwise.

Link copied to clipboard
val location: GeoLocation

Geographical location associated with this position.

Link copied to clipboard
val offset: Distance

Offset from the start of the path to this position.

Link copied to clipboard
val pathId: Int

Identifier of the path that this position belongs to.