NURBS
NURBS (不均等有理 B-スプライン) カーブは、ノット、重量、および制御点の拡張可能な配列によって定義されます。
3 次 NURBS カーブ
データフォーマット:
degree Degree of the basis function
params[] Array of knots
weights[] Array of weights for rational
NURBS, otherwise NULL.
c_pnts[][3] Array of control points
定義:
k = 基底関数の次数
N = (ノット数) - (次数) - 2
w = 重さ
C = 制御点 (x, y, z) * w
B = 基底関数
この方程式では、制御点の数は N+1 です。