Class IntersectPolygonRectangle

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

public class IntersectPolygonRectangle extends Object
  • Method Details

    • intersectPolygonRectangleEx

      public static IntersectionResultEx intersectPolygonRectangleEx(List<Point2D.Double> points, Point2D r0, Point2D r1)
      Computes the intersection between a polygon and a rectangle.
      Parameters:
      points - the points of the polygon
      r0 - corner point 0 of the rectangle
      r1 - corner point 1 of the rectangle
      Returns:
      computed intersection