Class IntersectCubicCurveLine

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

public class IntersectCubicCurveLine extends Object
  • Method Details

    • intersectCubicCurveLine

      public static IntersectionResult intersectCubicCurveLine(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double epsilon)
    • intersectCubicCurveLine

      public static IntersectionResult intersectCubicCurveLine(Point2D a0, Point2D a1, Point2D a2, Point2D a3, Point2D b0, Point2D b1)
      Computes the intersection between cubic bezier curve 'p' and the line 'a'.
      Parameters:
      a0 - control point P0 of 'p'
      a1 - control point P1 of 'p'
      a2 - control point P2 of 'p'
      a3 - control point P3 of 'p'
      b0 - point 0 of 'a'
      b1 - point 1 of 'a'
      Returns:
      the computed intersection
    • intersectCubicCurveLine

      public static IntersectionResult intersectCubicCurveLine(Point2D p0, Point2D p1, Point2D p2, Point2D p3, Point2D a0, Point2D a1, double epsilon)
      Parameters:
      p0 -
      p1 -
      p2 -
      p3 -
      a0 -
      a1 -
      epsilon -
      Returns:
    • intersectCubicCurveLineEx

      public static IntersectionResultEx intersectCubicCurveLineEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y, double epsilon)
    • intersectCubicCurveLineEx

      public static IntersectionResultEx intersectCubicCurveLineEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double a3x, double a3y, double b0x, double b0y, double b1x, double b1y)