java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCirclePolygon
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IntersectionResultExintersectCirclePolygonEx(@NonNull Point2D c, double r, @NonNull List<Point2D.Double> points) Computes the intersection between a circle and a polygon.
-
Method Details
-
intersectCirclePolygonEx
public static @NonNull IntersectionResultEx intersectCirclePolygonEx(@NonNull Point2D c, double r, @NonNull List<Point2D.Double> points) Computes the intersection between a circle and a polygon.- Parameters:
c- the center of the circler- the radius of the circlepoints- the points of the polygon- Returns:
- computed intersection
-