DangerousGoodsRestrictionElement
class DangerousGoodsRestrictionElement(val id: Int, val pathId: Int, val startOffset: Distance, val endOffset: Distance, val restrictions: List<DangerousGoodsRestrictionData>) : HorizonElement
Horizon element that contains data about a dangerous goods restriction.
To receive such elements in the horizon snapshot, specify DangerousGoodsRestrictionElementType in the horizon options that you register with the horizon engine:
val horizonOptions = HorizonOptions(
elementTypes = listOf(DangerousGoodsRestrictionElementType, ...),
...
)
Content copied to clipboard
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
Link copied to clipboard
Start offset on the horizon path.