RoadObjectDistanceInfo

abstract class RoadObjectDistanceInfo

RoadObjectDistanceInfo contains information about distance to the road object of a concrete flavor/shape (gantry, polygon, line, point etc.)

Available types are:

Parameters

roadObjectId

id of the road object

roadObjectType

type of the road object

distanceInfoType

type of the distance info object

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

distanceInfoType
Link copied to clipboard
val distanceInfoType: Int
type of the distance info object
distanceToStart
Link copied to clipboard
abstract val distanceToStart: Double?
Distance to start of the object from current location or null if couldn't be determined.
roadObjectId
Link copied to clipboard
val roadObjectId: String
id of the road object
roadObjectType
Link copied to clipboard
val roadObjectType: Int
type of the road object

Inheritors

GantryDistanceInfo
Link copied to clipboard
LineDistanceInfo
Link copied to clipboard
PointDistanceInfo
Link copied to clipboard
PolygonDistanceInfo
Link copied to clipboard
SubGraphDistanceInfo
Link copied to clipboard