number of sub divisions to use
callback function to be invoked when cache is invalidated
Curve alpha parameter (0=uniform, 0.5=centripetal, 1=chordal)
Determines whether the curve should be a closed curve or not
Curve tension (0=Catmull-rom, 1=linear)
Evaluate curve segment function at t
vector
time along full curve (encodes segment index and segment t)
Optional
target: Vectoroptional target vector
Get the curve function coefficients at the given segment index. The coefficients are calculated once per segment and put in cache until it is invalidated.
coefficients for the curve function at the given segment index
segment index
Generated using TypeDoc
Approximate spline curve by subdividing it into smaller linear line segments. Used to approximate length and mapping between uniform (u) and non-uniform (t) time along curve.