AbstractCreates a curve.
Configuration options
Optionalt?: numberInitial curve parameter in the range [0..1]
Protected_tProtected OptionalcacheProtected OptionalneedsApproximate arc length of the curve.
Computed from cached sampled lengths.
Current curve parameter.
Clamped to the range [0..1].
Normalized tangent at the current t.
Protected_updateInvalidates cached arc-length data and rebuilds it.
AbstractgetSamples the curve at parameter t.
Curve parameter in the range [0..1]
Point on the curve
Samples points at evenly spaced parameter intervals.
Number of intervals to divide [0..1] into
Sampled points, including both endpoints
Returns the normalized tangent at parameter t.
Uses a small finite difference around t.
Optionalt: numberCurve parameter in the range [0..1]. Defaults to the current t.
Normalized tangent vector
Maps normalized arc-length parameter u to curve parameter t.
This is useful when you want points spaced by distance along the curve instead of by raw parameter value.
Normalized distance along the curve in the range [0..1]
Optionaldistance: numberAbsolute distance along the curve. When provided, overrides u.
Curve parameter in the range [0..1]
Base class for parametric 3D curves.
Curves are sampled over
tin the range[0..1]and provide helpers for point, tangent, arc-length, and uniform-distance sampling.