Function polyline_parameter

Source
pub fn polyline_parameter(
    polyline: &Polyline<DVec3>,
    distance: f64,
) -> Result<f64, GeomError>
Expand description

Convert a distance along polyline to its native parameter.

The parameter runs [0, segment_count] with the integer part selecting the segment, matching curve::evaluate3.