Class IntersectCubicCurveEllipse

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

public class IntersectCubicCurveEllipse extends Object
  • Method Details

    • intersectCubicCurveEllipse

      public static 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 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 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 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 IntersectionResult intersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, 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 IntersectionResult intersectCubicCurveEllipse(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D ec, double rx, double ry, double epsilon)
      Parameters:
      p0 -
      p1 -
      p2 -
      p3 -
      ec -
      rx -
      ry -
      epsilon -
      Returns: