Function points_on_curve::flatness

source ·
pub fn flatness<F>(points: &[Point2D<F>], offset: usize) -> Fwhere
    F: Float + MulAssign,
Expand description

Adapted from https://seant23.wordpress.com/2010/11/12/offset-bezier-curves/