java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCubicCurveEllipse
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultintersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry) static IntersectionResultintersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon) static IntersectionResultintersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry) Computes the intersection between cubic bezier curve 'p' and the given ellipse.static IntersectionResultintersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry, double epsilon) static IntersectionResultExintersectCubicCurveEllipseEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry) static IntersectionResultExintersectCubicCurveEllipseEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon)
-
Method Details
-
intersectCubicCurveEllipse
public static IntersectionResult intersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry) -
intersectCubicCurveEllipse
public static IntersectionResult intersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon) -
intersectCubicCurveEllipseEx
public static IntersectionResultEx intersectCubicCurveEllipseEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry) -
intersectCubicCurveEllipseEx
public static IntersectionResultEx intersectCubicCurveEllipseEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon) -
intersectCubicCurveEllipse
public static IntersectionResult intersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry) Computes the intersection between cubic bezier curve 'p' and the given ellipse.- Parameters:
p0- control point P0 of 'p'p1- control point P1 of 'p'p2- control point P2 of 'p'p3- control point P3 of 'p'ec- the center of the ellipserx- the x-radius of the ellipsery- the y-radius of the ellipse- Returns:
- the computed result. Status can be
IntersectionStatus.INTERSECTION, Status#NO_INTERSECTION_INSIDE or Status#NO_INTERSECTION_OUTSIDE}.
-
intersectCubicCurveEllipse
public static IntersectionResult intersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry, double epsilon) - Parameters:
p0-p1-p2-p3-ec-rx-ry-epsilon-- Returns:
-