Cubic B-spline curve in Java
•
Java
I need to use cubic B - spline, but I can't find its code anywhere The only curves available in the Java API are quadcurve2d, path2d, and cubiccurve2d I think they're all Bezier, but I'm not sure
If you know where to find the cubic B-spline code, you'd better extend the Java shape class and support the inclusion of OnMouseOver (point P). Please help
Solution
Apache has a class that represents splines:
http://jmeter.apache.org/api/org/apache/jmeter/visualizers/Spline3.html
However, it does not extend shape or support what you want This class works by inserting curves between nodes using cubic curves For contains (point P), you can use the getplots () method to compare its results with the X and Y values of P
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码