Skip to main content

sample_open_catmull

Function sample_open_catmull 

Source
pub fn sample_open_catmull(
    pts: &[(f64, f64)],
    n_per_seg: usize,
) -> Vec<(f64, f64)>
Expand description

Dense polyline along the open Catmull–Rom (same cubics as the SVG shaft).