I need to use a cubic B-spline curve, but cannot find the code for it anywhere. The only curves available in the Java API are QuadCurve2D , Path2D and CubicCurve2D . I think they are all Beziers, but I'm not so sure.
If you know where I can find the code for a cubic B-spline, preferably one that extends the Java Shape class and supports contains(Point p) for onMouseOver , please help.
java graphics
Artur
source share