Skip to main content

Curve2

Type Alias Curve2 

Source
pub type Curve2 = NurbCurve<3>;
Expand description

A 2-D parameter-space NURBS curve (pcurve).

Control points are in homogeneous parameter space: (wu, wv, w).

Aliased Type§

pub struct Curve2 {
    pub degree: usize,
    pub control_points: Vec<Vector<3>>,
    pub knot_vector: Vec<Scalar>,
    /* private fields */
}

Fields§

§degree: usize§control_points: Vec<Vector<3>>§knot_vector: Vec<Scalar>