java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCircleQuadCurve
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntersectionResultintersectQuadCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) static IntersectionResultintersectQuadCurveCircle(Point2D p0, Point2D p1, Point2D p2, Point2D c, double r) Computes the intersection between quadratic bezier curve 'p' and the given circle.static IntersectionResultExintersectQuadCurveCircleEx(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r)
-
Method Details
-
intersectQuadCurveCircle
public static IntersectionResult intersectQuadCurveCircle(Point2D p0, Point2D p1, Point2D p2, Point2D c, double r) Computes the intersection between quadratic bezier curve 'p' and the given circle.- Parameters:
p0- control point P0 of 'p'p1- control point P1 of 'p'p2- control point P3 of 'p'c- the center of the circler- the radius of the circle- Returns:
- the computed result
-
intersectQuadCurveCircle
public static IntersectionResult intersectQuadCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) -
intersectQuadCurveCircleEx
public static IntersectionResultEx intersectQuadCurveCircleEx(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r)
-