LaneSection
class LaneSection(val sectionLocation: SectionLocation, val routeOffset: Distance, val length: Distance, val lanes: List<Lane>, val laneSeparators: List<LaneSeparator>) : Section
Represents a route section with a consistent lane configuration. If the number of lanes or the lane separators change, these will be reported as separate LaneSections.
See also
Constructors
Link copied to clipboard
constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance, lanes: List<Lane>, laneSeparators: List<LaneSeparator>)
Properties
Link copied to clipboard
Ordered list of lane separators in the section. The separators are listed in order from curb side to middle side. Separators that are shared between adjacent lanes are listed only once. Therefore there must be one more separator than the number of lanes.
Link copied to clipboard
Distance from the the start point to the end point of the sectionLocation.
Link copied to clipboard
Distance from the start of the route to the start point of the sectionLocation.
Link copied to clipboard
Information about the location of a section on a route's geometry.