java.lang.Object
org.jhotdraw8.geom.intersect.IntersectLinePolygon
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultExintersectLinePolygonEx(Point2D a0, Point2D a1, List<Point2D.Double> points) Computes the intersection between a line and a polygon.
-
Method Details
-
intersectLinePolygonEx
public static IntersectionResultEx intersectLinePolygonEx(Point2D a0, Point2D a1, List<Point2D.Double> points) Computes the intersection between a line and a polygon.The intersection will contain the parameters 't1' of the line in range [0,1].
- Parameters:
a0- point 0 of the linea1- point 1 of the linepoints- the points of the polygon- Returns:
- computed intersection
-