java.lang.Object
org.jhotdraw8.geom.intersect.IntersectEllipseQuadCurve
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultintersectEllipseQuadCurve(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) static IntersectionResultExintersectEllipseQuadCurveEx(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) static IntersectionResultExintersectEllipseQuadCurveEx(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double epsilon) static IntersectionResultintersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry) static IntersectionResultintersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry, double epsilon) static IntersectionResultintersectQuadCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D c, double rx, double ry) Computes the intersection between quadratic bezier curve 'p' and the given ellipse.static IntersectionResultintersectQuadCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D c, double rx, double ry, double epsilon) static IntersectionResultExintersectQuadCurveEllipseEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry) static IntersectionResultExintersectQuadCurveEllipseEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry, double epsilon)
-
Method Details
-
intersectQuadCurveEllipse
public static IntersectionResult intersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry) -
intersectQuadCurveEllipse
public static IntersectionResult intersectQuadCurveEllipse(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry, double epsilon) -
intersectQuadCurveEllipseEx
public static IntersectionResultEx intersectQuadCurveEllipseEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry) -
intersectQuadCurveEllipseEx
public static IntersectionResultEx intersectQuadCurveEllipseEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double bcx, double bcy, double brx, double bry, double epsilon) -
intersectQuadCurveEllipse
public static IntersectionResult intersectQuadCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D c, double rx, double ry) Computes the intersection between quadratic bezier curve 'p' and the given ellipse.The intersection will contain the parameters 't1' of curve 'p' in range [0,1].
- Parameters:
p0- control point P0 of 'p'p1- control point P1 of 'p'p2- control point P2 of 'p'c- 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}.
-
intersectQuadCurveEllipse
public static IntersectionResult intersectQuadCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D c, double rx, double ry, double epsilon) - Parameters:
p0-p1-p2-c-rx-ry-epsilon-- Returns:
-
intersectEllipseQuadCurve
public static IntersectionResult intersectEllipseQuadCurve(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) -
intersectEllipseQuadCurveEx
public static IntersectionResultEx intersectEllipseQuadCurveEx(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y) -
intersectEllipseQuadCurveEx
public static IntersectionResultEx intersectEllipseQuadCurveEx(double acx, double acy, double arx, double ary, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double epsilon)
-