SafetyLocation

fun SafetyLocation(id: Int, pathId: Int, startOffset: Distance, endOffset: Distance, safetyLocationId: String, startLocation: GeoPoint, endLocation: GeoPoint = startLocation, boundingBox: GeoBoundingBox, type: SafetyLocation.Type, speedLimit: Speed?, recommendedWarningDistance: Distance?, isZone: Boolean)

Parameters

id

Identifier of this element.

pathId

Identifier of the path this element belongs to.

startOffset

Start offset on the path.

endOffset

End offset on the path.

safetyLocationId

Unique id of safety location data object.

startLocation

Start coordinate of the safety location.

endLocation

End coordinate of the safety location.

boundingBox

Bounding box encapsulating safety location.

type

Safety location type.

speedLimit

The maximum allowed speed for the reported safety location.

recommendedWarningDistance

Recommended warning distance.

isZone

An indication if the camera is a zone. i.e. if the start point and the end point are truly different locations.