GeneralRoadPropertiesElement
class GeneralRoadPropertiesElement(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance, val roadProperties: RoadProperties) : HorizonElement
Horizon element that contains data about general road properties.
To receive such elements in the horizon snapshot, specify GeneralRoadPropertiesElementType in the horizon options that you register with the horizon engine:
val horizonOptions = HorizonOptions(
elementTypes = listOf(GeneralRoadPropertiesElementType, ...),
...
)
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(id: Int, pathId: Int, startOffset: Distance, endOffset: Distance, roadProperties: RoadProperties)
Properties
Link copied to clipboard
End offset on the horizon path.
Link copied to clipboard
Identifier of the horizon path to which this element belongs.
Link copied to clipboard
General properties of the road.
Link copied to clipboard
Start offset on the horizon path.