Returns a modified geometry having no segment longer than the given max_segment_length.
The length calculation is performed in 2D. When a segment is longer than the specified maximum length, it is split into multiple, equal-length subsegments.
Signatures
Parameters
The max_segment_length value.
Return type
Examples
Long segments are split evenly into subsegments no longer than the specified length. Shorter segments are not modified.