Function polyline_parameter

Source
pub fn polyline_parameter(
    polyline: &Polyline3,
    distance: Scalar,
) -> GeomResult<Scalar>
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.