subdivided_points_along_curve

Function subdivided_points_along_curve 

Source
pub fn subdivided_points_along_curve(
    curve: &impl ParametricCurve2d,
    max_length: f64,
) -> Vec<Point2d> 
Expand description

Approximates a curve by subdividing it until all segments are no longer than max_length units in length.