Class IntersectEllipsePolygon

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

public class IntersectEllipsePolygon extends Object
  • Method Details

    • intersectEllipsePolygon

      public static @NonNull IntersectionResult intersectEllipsePolygon(@NonNull Point2D c, double rx, double ry, @NonNull List<Point2D.Double> points)
      Computes the intersection between a circle and a polygon.
      Parameters:
      c - the center of the ellipse
      rx - the x-radius of the ellipse
      ry - the y-radius of the ellipse
      points - the points of the polygon
      Returns:
      computed intersection