Inheritance: Curve →
A Trefoil Polynomial Knot.
TrefoilPolynomialKnot is an addon, and must be imported explicitly, see Installation#Addons.
import { TrefoilPolynomialKnot } from 'three/addons/curves/CurveExtras.js';
Constructs a new Trefoil Polynomial Knot.
scale
The curve's scale.
Default is 10.
The curve's scale.
Default is 10.
This method returns a vector in 3D space for the given interpolation factor.
t
A interpolation factor representing a position on the curve. Must be in the range [0,1].
optionalTarget
The optional target vector the result is written to.
Overrides: Curve#getPoint
Returns: The position on the curve.