java.lang.Object
org.jhotdraw8.geom.intersect.IntersectPolygonRectangle
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultExintersectPolygonRectangleEx(List<Point2D.Double> points, Point2D r0, Point2D r1) Computes the intersection between a polygon and a rectangle.
-
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 polygonr0- corner point 0 of the rectangler1- corner point 1 of the rectangle- Returns:
- computed intersection
-