java.lang.Object
org.jhotdraw8.geom.intersect.IntersectQuadCurveCubicCurve
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultintersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y) static IntersectionResultintersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon) static IntersectionResultintersectQuadCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, Point2D b3) Computes the intersection between a quadratic bezier curve 'a' and cubic bezier curve 'b'.static IntersectionResultintersectQuadCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, Point2D b3, double epsilon) static IntersectionResultExintersectQuadCurveCubicCurveEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y) static IntersectionResultExintersectQuadCurveCubicCurveEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon)
-
Method Details
-
intersectQuadCurveCubicCurve
public static IntersectionResult intersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y) -
intersectQuadCurveCubicCurveEx
public static IntersectionResultEx intersectQuadCurveCubicCurveEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y) -
intersectQuadCurveCubicCurve
public static IntersectionResult intersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon) -
intersectQuadCurveCubicCurve
public static IntersectionResult intersectQuadCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, Point2D b3) Computes the intersection between a quadratic bezier curve 'a' and cubic bezier curve 'b'.The intersection will contain the parameters 't1' of curve 'a' in range [0,1].
- Parameters:
a0- control point P0 of 'a'a1- control point P1 of 'a'a2- control point P2 of 'a'b0- control point P0 of 'b'b1- control point P1 of 'b'b2- control point P2 of 'b'b3- control point P3 of 'b'- Returns:
- the computed result
-
intersectQuadCurveCubicCurve
public static IntersectionResult intersectQuadCurveCubicCurve(Point2D a0, Point2D a1, Point2D a2, Point2D b0, Point2D b1, Point2D b2, Point2D b3, double epsilon) - Parameters:
a0-a1-a2-b0-b1-b2-b3-epsilon-- Returns:
-
intersectQuadCurveCubicCurveEx
public static IntersectionResultEx intersectQuadCurveCubicCurveEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon)
-