Plain NURBS curve data (degree, knot vector, control points and weights) used by the knot-insertion, split and join helpers.

knots.length must equal controlPoints.length + degree + 1 and weights.length must equal controlPoints.length.

interface AcGeNurbsCurveData {
    controlPoints: AcGeVector3dLike[];
    degree: number;
    knots: number[];
    weights: number[];
}

Properties

controlPoints: AcGeVector3dLike[]

Control points in curve order.

degree: number

Polynomial degree p.

knots: number[]

Non-decreasing knot vector.

weights: number[]

Rational weights aligned with controlPoints.