Class IntersectEllipsePoint

java.lang.Object
org.jhotdraw8.geom.intersect.IntersectEllipsePoint

public class IntersectEllipsePoint extends Object
  • 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 point
      center - the center of the ellipse
      rx - the x-radius of ellipse
      ry - the y-radius of ellipse
      Returns:
      computed intersection. Status can beIntersectionStatus.INTERSECTION, Status#NO_INTERSECTION_INSIDE or Status#NO_INTERSECTION_OUTSIDE}.