Type Alias BSplineCurve3

Source
pub type BSplineCurve3 = BSplineCurve<DVec3>;
Expand description

Three-dimensional B-spline curve.

Aliased Type§

struct BSplineCurve3 {
    pub degree: u16,
    pub control_points: Vec<DVec3>,
    pub knots: Vec<f64>,
    pub multiplicities: Vec<u32>,
    pub weights: Option<Vec<f64>>,
    pub closed: bool,
    pub self_intersect: Option<bool>,
    pub knot_spec: KnotSpec,
}

Fields§

§degree: u16

Polynomial degree.

§control_points: Vec<DVec3>

Ordered control points.

§knots: Vec<f64>

Distinct knot values.

§multiplicities: Vec<u32>

Multiplicity for each distinct knot.

§weights: Option<Vec<f64>>

Optional rational weights, one per control point.

§closed: bool

Whether the source declares the curve closed.

§self_intersect: Option<bool>

Whether the source declares self intersection.

§knot_spec: KnotSpec

Source knot convention.