SafetyLocation

class SafetyLocation(val id: SafetyLocationId, val speedLimit: Speed?, val startLocation: GeoPoint, val endLocation: GeoPoint = startLocation, val type: SafetyLocationType)

Describes a safety location.

Constructors

Link copied to clipboard
constructor(id: SafetyLocationId, speedLimit: Speed?, startLocation: GeoPoint, endLocation: GeoPoint = startLocation, type: SafetyLocationType)

Properties

Link copied to clipboard

End position of this safety location. By default endLocation is equal to startLocation. If startLocation and endLocation are equal, the safety location is a spot safety location. Otherwise, it is a zone safety location.

Link copied to clipboard

Identifier of this safety location.

Link copied to clipboard

Value of the speed limit applicable to the type of this safety location, otherwise null.

Link copied to clipboard

Start position of this safety location.

Link copied to clipboard

Type of this safety location.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String