Class IntersectCubicCurveCubicCurve

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

public class IntersectCubicCurveCubicCurve extends Object
  • Method Details

    • intersectCubicCurveCubicCurve

      public static @NonNull IntersectionResult intersectCubicCurveCubicCurve(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 b2x, double b2y, double b3x, double b3y)
    • intersectCubicCurveCubicCurve

      public static @NonNull IntersectionResult intersectCubicCurveCubicCurve(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 b2x, double b2y, double b3x, double b3y, double epsilon)
    • intersectCubicCurveCubicCurve

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

      The intersection will contain the parameters 't' 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'
      a3 - control point P3 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
    • intersectCubicCurveCubicCurve

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

      The intersection will contain the parameters 't' of curve 'a' in range [tMin,tMax].

      Parameters:
      a0 - control point P0 of 'a'
      a1 - control point P1 of 'a'
      a2 - control point P2 of 'a'
      a3 - control point P3 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
    • intersectCubicCurveCubicCurveEx

      public static IntersectionResultEx intersectCubicCurveCubicCurveEx(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 b2x, double b2y, double b3x, double b3y)
    • intersectCubicCurveCubicCurveEx

      public static IntersectionResultEx intersectCubicCurveCubicCurveEx(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 b2x, double b2y, double b3x, double b3y, double epsilon)
      Parameters:
      a0x -
      a0y -
      a1x -
      a1y -
      a2x -
      a2y -
      a3x -
      a3y -
      b0x -
      b0y -
      b1x -
      b1y -
      b2x -
      b2y -
      b3x -
      b3y -
      epsilon -
      Returns: