Function ochre::flatten[][src]

pub fn flatten(path: &[PathCmd], tolerance: f32) -> Vec<PathCmd>

Computes a piecewise-linear approximation of the given path to within the supplied parametric error tolerance.