copy

fun TollRoadSection.copy(sectionLocation: SectionLocation = this.sectionLocation, routeOffset: Distance = this.routeOffset, length: Distance = this.length): TollRoadSection

Deprecated

This will be removed from future releases after October 10th 2024.

Replace with

TollSection and TollVignetteSection

Creates a copy of the object, with the option to modify some of its properties.