Class IntersectQuadCurveCubicCurve

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

public class IntersectQuadCurveCubicCurve extends Object
  • Method Details

    • intersectQuadCurveCubicCurve

      public static @NonNull IntersectionResult intersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y)
    • intersectQuadCurveCubicCurveEx

      public static @NonNull IntersectionResultEx intersectQuadCurveCubicCurveEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y)
    • intersectQuadCurveCubicCurve

      public static IntersectionResult intersectQuadCurveCubicCurve(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon)
    • intersectQuadCurveCubicCurve

      public static @NonNull IntersectionResult intersectQuadCurveCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, @NonNull Point2D b3)
      Computes the intersection between a quadratic bezier curve 'a' and cubic bezier curve 'b'.

      The intersection will contain the parameters 't1' of curve 'a' in range [0,1].

      Parameters:
      a0 - control point P0 of 'a'
      a1 - control point P1 of 'a'
      a2 - control point P2 of 'a'
      b0 - control point P0 of 'b'
      b1 - control point P1 of 'b'
      b2 - control point P2 of 'b'
      b3 - control point P3 of 'b'
      Returns:
      the computed result
    • intersectQuadCurveCubicCurve

      public static IntersectionResult intersectQuadCurveCubicCurve(@NonNull Point2D a0, @NonNull Point2D a1, @NonNull Point2D a2, @NonNull Point2D b0, @NonNull Point2D b1, @NonNull Point2D b2, @NonNull Point2D b3, double epsilon)
      Parameters:
      a0 -
      a1 -
      a2 -
      b0 -
      b1 -
      b2 -
      b3 -
      epsilon -
      Returns:
    • intersectQuadCurveCubicCurveEx

      public static @NonNull IntersectionResultEx intersectQuadCurveCubicCurveEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, double b0x, double b0y, double b1x, double b1y, double b2x, double b2y, double b3x, double b3y, double epsilon)