Class IntersectCircleQuadCurve

java.lang.Object
org.jhotdraw8.geom.intersect.IntersectCircleQuadCurve

public class IntersectCircleQuadCurve extends Object
  • 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 circle
      r - 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)