main/src/georegression/metric/ClosestPoint2D_F64.java
public static Point2D_F64 closestPoint( EllipseRotated_F64 ellipse , Point2D_F64 p ) {
		ClosestPointEllipseAngle_F64 alg = new ClosestPointEllipseAngle_F64(GrlConstants.TEST_F64,30);
		alg.setEllipse(ellipse);
		alg.process(p);
		return alg.getClosest();
	}
public static Point2D_F64 closestPoint( EllipseRotated_F64 ellipse , Point2D_F64 p ) {
		ClosestPointEllipseAngle_F64 alg = new ClosestPointEllipseAngle_F64(GrlConstants.TEST_F64,30);
		alg.setEllipse(ellipse);
		alg.process(p);
		return alg.getClosest();
	}
public static Point2D_F64 closestPoint ( EllipseRotated_F64 ellipse , Point2D_F64 p ) { ClosestPointEllipseAngle_F64 alg = new ClosestPointEllipseAngle_F64 ( GrlConstants . TEST_F64 , 30 ) ; alg . setEllipse ( ellipse ) ; alg . process ( p ) ; return alg . getClosest ( ) ; }
Computes the closest point on an ellipse to the provided point.  If there are multiple solutions then one
is arbitrarily chosen.

NOTE: When optimizing consider calling {@link ClosestPointEllipseAngle_F64} directly instead.

@param ellipse Ellipse
@param p Point
@return Closest point on the ellipse
Computes the closest point on an ellipse to the provided point . If there are multiple solutions then one is arbitrarily chosen .