Freedom-of-Form-Foundation / anatomy3d

A CAD tool for humanoid anatomy alterations. See the anatomy3d-blender repository for more recent work.
https://freedomofform.org/1856/3d-anatomy-project-scope-phase-1-focus-on-a-limb-joint/
GNU General Public License v2.0
7 stars 5 forks source link

MutableCubicSpline1D #63

Closed AdamNorberg closed 2 years ago

AdamNorberg commented 2 years ago

A demonstration of sorts of the intended use pattern for MutableCurve, this backs it up with CubicSpline1D. Adds a wrapper to implement ICurve over CubicSpline1D, which works with float instead (for now).

AdamNorberg commented 2 years ago

Note that this is branched off of my MutableCurve branch, so its history shows the commits in that branch as well.

AdamNorberg commented 2 years ago

I'm coming up pretty blank on effective ways to unit test this that aren't already covered by the MutablePiecewiseInterpolatedCurve patch. Suggestions welcome.