java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCircleEllipse
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IntersectionResultintersectCircleEllipse(double cx1, double cy1, double r1, double cx2, double cy2, double rx2, double ry2) static @NonNull IntersectionResultintersectCircleEllipse(@NonNull Point2D cc, double r, @NonNull Point2D ec, double rx, double ry) Computes the intersection between a circle and an ellipse.static IntersectionResultExintersectCircleEllipseEx(double acx, double acy, double ar, double bcx, double bcy, double brx, double bry) static IntersectionResultintersectEllipseCircle(double acx, double acy, double arx, double ary, double bcx, double bcy, double br) static IntersectionResultExintersectEllipseCircleEx(double acx, double acy, double arx, double ary, double bcx, double bcy, double br)
-
Method Details
-
intersectCircleEllipse
public static @NonNull IntersectionResult intersectCircleEllipse(@NonNull Point2D cc, double r, @NonNull Point2D ec, double rx, double ry) Computes the intersection between a circle and an ellipse.- Parameters:
cc- the center of the circler- the radius of the circleec- the center of the ellipserx- the x-radius of the ellipsery- the y-radius of the ellipse- Returns:
- computed intersection
-
intersectCircleEllipse
public static @NonNull IntersectionResult intersectCircleEllipse(double cx1, double cy1, double r1, double cx2, double cy2, double rx2, double ry2) -
intersectCircleEllipseEx
public static IntersectionResultEx intersectCircleEllipseEx(double acx, double acy, double ar, double bcx, double bcy, double brx, double bry) -
intersectEllipseCircleEx
public static IntersectionResultEx intersectEllipseCircleEx(double acx, double acy, double arx, double ary, double bcx, double bcy, double br) -
intersectEllipseCircle
public static IntersectionResult intersectEllipseCircle(double acx, double acy, double arx, double ary, double bcx, double bcy, double br)
-