PolygonDistanceInfo

class PolygonDistanceInfo : RoadObjectDistanceInfo

PolygonDistanceInfo contains information about distance to the road object represented as polygon.

Parameters

entrances

distances to particular entrances, sorted by probability. Might be empty in the case when the polygon 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 polygon is very large and no exit could be detected using most probable path.

inside

true if inside the object

Functions

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

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val distanceInfoType: Int
Link copied to clipboard
open override val distanceToStart: Double?

distance to start of the object or null if couldn't be determined.

Link copied to clipboard
val entrances: List<Gate>
Link copied to clipboard
val exits: List<Gate>
Link copied to clipboard
val inside: Boolean
Link copied to clipboard
val roadObjectId: String
Link copied to clipboard
val roadObjectType: Int