PMTpsPosition

data class PMTpsPosition(val latitude: Double = 0.0, val longitude: Double = 0.0, val heading: PMTpsValue? = null, val altitude: PMTpsValue? = null, val roadAttributes: List<PMTpsRoadAttr>? = null, val roadType: PMTpsRoadType)

defines position of the PreSafe event

Constructors

Link copied to clipboard
fun PMTpsPosition(latitude: Double = 0.0, longitude: Double = 0.0, heading: PMTpsValue? = null, altitude: PMTpsValue? = null, roadAttributes: List<PMTpsRoadAttr>? = null, roadType: PMTpsRoadType)

Properties

Link copied to clipboard
val altitude: PMTpsValue? = null

(optional) Defines altitude, as measured in meters above sea-level

Link copied to clipboard
val heading: PMTpsValue? = null

(optional) Defines course (direction of travel) of the position, in degrees.
Valid course values are in the range [0, 360), with 0 degrees representing north and values increasing clockwise.

Link copied to clipboard
val latitude: Double = 0.0

Defines latitude, as measured in degrees, representing north-south coordinate (y-axis on a map)

Link copied to clipboard
val longitude: Double = 0.0

Defines longitude, as measured in degrees, representing east-west coordinate (x-axis on a map)

Link copied to clipboard

(optional) list of road attributes

Link copied to clipboard

(optional) road type
Default value is PMTpsRoadType.Unknown