java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCircleQuadCurve
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull IntersectionResultintersectQuadCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) static @NonNull IntersectionResultintersectQuadCurveCircle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D c, double r) Computes the intersection between quadratic bezier curve 'p' and the given circle.static @NonNull IntersectionResultExintersectQuadCurveCircleEx(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r)
-
Method Details
-
intersectQuadCurveCircle
public static @NonNull IntersectionResult intersectQuadCurveCircle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull 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 @NonNull IntersectionResult intersectQuadCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r) -
intersectQuadCurveCircleEx
public static @NonNull IntersectionResultEx intersectQuadCurveCircleEx(double x0, double y0, double x1, double y1, double x2, double y2, double cx, double cy, double r)
-