OptionalcurvesThe curves to group, in order along the route. Defaults to the route's sections.curve, or to
getCurveSections with its defaults when the route has none.
OptionalmaxThe longest gap between two curves of one stretch.
OptionalminLeaves out the stretches with fewer curves than this.
How close curves have to follow one another to make a curvy stretch.