Is there a Java library with 3D spline functions?

Posted by Liam on Stack Overflow See other posts from Stack Overflow or by Liam
Published on 2009-06-02T14:27:45Z Indexed on 2010/04/09 11:53 UTC
Read the original article Hit count: 353

Filed under:
|
|

In particular, I need a way to represent a curve/spline that passes through a set of known 3D points, and a way of finding other points on the curve/spline, by subdivision/interpolation.

For example, if I have a set of points P0 to PN, I want to find 100 points between P0 and P1 that are on a spline that passes through P0 and P1.

I see that Java3D's KBRotPosScaleSplinePathInterpolator performs such a calculation, but it is tied to that API's scenegraph model and I do not see how to return the values I need.

© Stack Overflow or respective owner

Related posts about java

Related posts about math