I have drawn a quadratic curve using the QuadCurve2d in java using start, end and one control points. Is there a way I can find out the equation of this curve? The reason why I need is that at some point of this curve it might intersect a circle and I want to know their point of intersection. So basically I want to solve two equations, but I dont know the equation of the curve generated by QuadCurve2D. Any help will be appreicated.
Regards S
See the Javadoc for java.awt.geom.PathIterator
, specifically the SEG_QUADTO
field, in which the control equation in terms of the start, end and control points is given.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With