You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
What's Changed
Update core to use Barry and Goldman's pyramidal formulation to allow for non-uniform knot sequences. This introduces the new parameter alpha (0-1) to control the distribution of t where 0 = uniform, 0.5 = centripetal and 1 = chordal. The alpha parameter is particular useful if the control points are irregular to avoid loops and cusps. This introduce breaking changes to the exported core functions, where the chord sequence now is a required parameter. The chord sequence can be obtained by calling calcChordSequence, which accepts the four control points for a spline and an alpha value. The main CurveInterpolator class does not have any breaking changes, but now accepts a value for alpha in the options. (https://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline)
Change to how control points are extrapolated at beginning and end segments of curves.