TollVignetteSection

class TollVignetteSection(val geometry: List<GeoPoint>, val routeOffset: Distance, val length: Distance, val countryCode: String) : Section

Represents a route section that requires a toll vignette to be present.

See also

Constructors

Link copied to clipboard
constructor(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, countryCode: String)

Properties

Link copied to clipboard

3-character ISO 3166-1 alpha-3 country code.

Link copied to clipboard
open override val geometry: List<GeoPoint>

List of GeoPoints representing the section.

Link copied to clipboard
open override val length: Distance

Distance from the the first point of geometry to the last point.

Link copied to clipboard
open override val routeOffset: Distance

Distance from the start of the route to the first point of geometry.

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.