Fix projectToEllipse method in Ellipse class
After doing some work involving projection on an ellipse, I noticed one case where the "projectToEllipse" method in the Ellipse
class does not return the expected closest point on the ellipse.
You'll find attached below the test which reproduce this behaviour. EllipseProjectionTest.java
EDIT: This issue has been modified to represent the actual bug while the original issue was due to the inversion of the a and b coefficients in the Ellipse
constructor.
Edited by Vincent CUCCHIETTI