SubGraphDistanceInfo

class SubGraphDistanceInfo : RoadObjectDistanceInfo

SubGraphDistanceInfo contains information about distance to the road object represented as sub-graph.

Parameters

entrances

distances to particular entrances, sorted by probability. Might be empty in the case when the subgraph is very large and no entry could be detected using most likely path.

exits

distances to particular exits, sorted by probability. Might be empty in the case when the subgraph is very large and no exit could be detected using most probable path.

inside

true if inside the 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
open override val distanceToStart: Double?
distance to start of the object or null if couldn't be determined.
entrances
Link copied to clipboard
val entrances: List<Gate>
distances to particular entrances, sorted by probability.
exits
Link copied to clipboard
val exits: List<Gate>
distances to particular exits, sorted by probability.
inside
Link copied to clipboard
val inside: Boolean
true if inside the object
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