num_opt::hermite

Function curve_points

Source
pub fn curve_points<T>(
    params: &CurveParams<T>,
    segments: NonZeroU32,
) -> Vec<(Fpt, Fpt, Fpt)>
where T: MyFloat,
Expand description

Samples a hermite curve, splitting it into segments segments
The segments are not equal in length