AbstractCreates a curve.
Configuration options
Optionalt?: numberInitial curve parameter in the range [0..1]
Protected Optional__arcProtected_tProtected OptionalcacheProtected OptionalneedsApproximate arc length of the curve.
Computed from cached sampled lengths.
Current curve parameter.
Clamped to the range [0..1].
Protected_getReturns cumulative sampled arc lengths for the curve.
The returned array starts at 0 and ends at the total sampled length.
Results are cached until invalidated.
Optionaldivisions: numberNumber of sampling divisions used to approximate arc length
Cumulative arc lengths
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
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.