java.lang.Object
org.jhotdraw8.geom.intersect.IntersectEllipsePoint
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultintersectPointEllipse(Point2D point, Point2D center, double rx, double ry) Computes the intersection between a point and an ellipse.
-
Method Details
-
intersectPointEllipse
public static IntersectionResult intersectPointEllipse(Point2D point, Point2D center, double rx, double ry) Computes the intersection between a point and an ellipse.- Parameters:
point- the pointcenter- the center of the ellipserx- the x-radius of ellipsery- the y-radius of ellipse- Returns:
- computed intersection. Status can be
IntersectionStatus.INTERSECTION, Status#NO_INTERSECTION_INSIDE or Status#NO_INTERSECTION_OUTSIDE}.
-