CarpoolSection

class CarpoolSection(val sectionLocation: SectionLocation, val routeOffset: Distance, val length: Distance) : Section

Represents a route section that is only open to HOV (high-occupancy vehicles) at the time of traversal. Roads with at least one unrestricted lane are not part of this section.

See also

Constructors

Link copied to clipboard
constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance)

Properties

Link copied to clipboard
open override val length: Distance

Distance from the the start point to the end point of the sectionLocation.

Link copied to clipboard
open override val routeOffset: Distance

Distance from the start of the route to the start point of the sectionLocation.

Link copied to clipboard
open override val sectionLocation: SectionLocation

Information about the location of a section on a route's 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.