Class IntersectCircleCubicCurve

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

public class IntersectCircleCubicCurve extends Object
  • Method Details

    • intersectCubicCurveCircle

      public static @NonNull IntersectionResult intersectCubicCurveCircle(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D c, double r)
      Computes the intersection between cubic bezier curve 'p' and the given circle.
      Parameters:
      p0 - control point P0 of 'p'
      p1 - control point P1 of 'p'
      p2 - control point P2 of 'p'
      p3 - control point P3 of 'p'
      c - the center of the circle
      r - the radius of the circle
      Returns:
      the computed result
    • intersectCubicCurveCircle

      public static @NonNull IntersectionResult intersectCubicCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double r)
    • intersectCubicCurveCircle

      public static @NonNull IntersectionResult intersectCubicCurveCircle(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double r, double epsilon)
    • intersectCubicCurveCircleEx

      public static IntersectionResultEx intersectCubicCurveCircleEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double r)
    • intersectCubicCurveCircleEx

      public static IntersectionResultEx intersectCubicCurveCircleEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double r, double epsilon)