Skip to main content

explode_lines

Function explode_lines 

Source
pub fn explode_lines(
    lines: impl IntoIterator<Item = LineString>,
) -> Result<Vec<LineString>, Error>
Expand description

Explode nondegenerate parts into individual segments, preserving duplicate uses. Consecutive duplicate coordinates are removed; remaining segments retain input part order and direction. Output coordinates use the original planar units and carry no feature provenance.

ยงErrors

Returns Error::NonFiniteLine for non-finite input coordinates.