HorizonPosition

constructor(pathId: Int, offset: Distance, isOnRoad: Boolean, location: GeoLocation)

Parameters

pathId

Identifier of the path that this position belongs to, or 0 if this position does not belong to any path, i.e., it is an off-road position, and there are no other on-road position candidates.

offset

Offset from the start of the path to this position.

isOnRoad

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

location

Geographical location associated with this position.