Skip to main content

spline_total_variation

Function spline_total_variation 

Source
pub fn spline_total_variation(spline: &CatmullRomSpline) -> f32
Expand description

Compute the total variation (sum of |dp_i| changes) of a spline.