PolygonDistanceInfo

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

Properties

Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.