RoadShieldSection
class RoadShieldSection(val sectionLocation: SectionLocation, val routeOffset: Distance, val length: Distance, val roadShieldReferences: List<RoadShieldReference>) : Section
Represents a route section with road shield information.
See also
Constructors
Link copied to clipboard
constructor(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, roadShieldReferences: List<RoadShieldReference>)
Constructs a RoadShieldSection object with the given parameters.
constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance, roadShieldReferences: List<RoadShieldReference>)
Properties
Link copied to clipboard
Distance from the the start point to the end point of the sectionLocation.
Link copied to clipboard
A list of references for the road shields.
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.
Functions
Link copied to clipboard
Returns geometry property of the class.
Link copied to clipboard
Returns routeOffset property of the class.
Link copied to clipboard
Returns length property of the class.
Link copied to clipboard
Returns roadShieldReferences property of the class.
Link copied to clipboard
fun copy(geometry: List<GeoPoint> = this.geometry, routeOffset: Distance = this.routeOffset, length: Distance = this.length, roadShieldReferences: List<RoadShieldReference> = this.roadShieldReferences): RoadShieldSection
Creates a copy of the object, with the option to modify some of its properties.