File: NURBSVolume.md | Updated: 11/15/2025
This class represents a NURBS volume.
Implementation is based on (x, y [, z=0 [, w=1]]) control points with w=weight.
NURBSVolume is an addon, and must be imported explicitly, see Installation#Addons.
import { NURBSVolume } from 'three/addons/curves/NURBSVolume.js';
Constructs a new NURBS surface.
degree1 | The first NURBS degree.
---|---
degree2 | The second NURBS degree.
degree3 | The third NURBS degree.
knots1 | The first knots as a flat array of numbers.
knots2 | The second knots as a flat array of numbers.
knots3 | The third knots as a flat array of numbers.
controlPoints | An array^3 holding control points.
This method returns a vector in 3D space for the given interpolation factor. This vector lies within the NURBS volume.
t1 | The first interpolation factor representing the u position within the volume. Must be in the range [0,1].
---|---
t2 | The second interpolation factor representing the v position within the volume. Must be in the range [0,1].
t3 | The third interpolation factor representing the w position within the volume. Must be in the range [0,1].
target | The target vector the result is written to.