RailwayCrossingElement
class RailwayCrossingElement(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance) : HorizonElement
Horizon element that contains data about a railway crossing.
To receive such elements in the horizon snapshot, specify RailwayCrossingElementType in the horizon options that you register with the horizon engine:
val horizonOptions = HorizonOptions(
elementTypes = listOf(RailwayCrossingElementType, ...),
...
)
Content copied to clipboard
RailwayCrossingElement is a spot element. For spot elements, startOffset and endOffset values are the same.
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
Start offset on the horizon path.