Skip to main content

arc2

Function arc2 

Source
pub fn arc2<S: Scalar>(
    p0: Vector2<S>,
    mid: Vector2<S>,
    p2: Vector2<S>,
    w: S,
) -> GeopResult<NurbCurve2D<S>>
Expand description

A degree-2 rational Bezier curve in parameter space from p0 to p2 through the (weighted) control point mid, with middle weight w.