Class IntersectCubicCurveEllipse

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

public class IntersectCubicCurveEllipse extends Object
  • Method Details

    • intersectCubicCurveEllipse

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

      public static @NonNull IntersectionResult intersectCubicCurveEllipse(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon)
    • intersectCubicCurveEllipseEx

      public static @NonNull IntersectionResultEx intersectCubicCurveEllipseEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry)
    • intersectCubicCurveEllipseEx

      public static @NonNull IntersectionResultEx intersectCubicCurveEllipseEx(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double cx, double cy, double rx, double ry, double epsilon)
    • intersectCubicCurveEllipse

      public static @NonNull IntersectionResult intersectCubicCurveEllipse(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ec, double rx, double ry)
      Computes the intersection between cubic bezier curve 'p' and the given ellipse.
      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'
      ec - the center of the ellipse
      rx - the x-radius of the ellipse
      ry - the y-radius of the ellipse
      Returns:
      the computed result. Status can beIntersectionStatus.INTERSECTION, Status#NO_INTERSECTION_INSIDE or Status#NO_INTERSECTION_OUTSIDE}.
    • intersectCubicCurveEllipse

      public static @NonNull IntersectionResult intersectCubicCurveEllipse(@NonNull Point2D p0, @NonNull Point2D p1, @NonNull Point2D p2, @NonNull Point2D p3, @NonNull Point2D ec, double rx, double ry, double epsilon)
      Parameters:
      p0 -
      p1 -
      p2 -
      p3 -
      ec -
      rx -
      ry -
      epsilon -
      Returns: