java.lang.Object
org.jhotdraw8.geom.intersect.IntersectEllipsePoint
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IntersectionResultintersectPointEllipse(@NonNull Point2D point, @NonNull Point2D center, double rx, double ry) Computes the intersection between a point and an ellipse.
-
Method Details
-
intersectPointEllipse
public static @NonNull IntersectionResult intersectPointEllipse(@NonNull Point2D point, @NonNull 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}.
-