Class IntersectQuadCurvePathIterator

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

public class IntersectQuadCurvePathIterator extends Object
  • Method Details

    • intersectQuadCurvePathIteratorEx

      public static @NonNull IntersectionResultEx intersectQuadCurvePathIteratorEx(double a0x, double a0y, double a1x, double a1y, double a2x, double a2y, @NonNull PathIterator pit)
      Intersects the given quadratic Bézier curve with the given path iterator.

      This method can produce the following IntersectionStatus codes:

      IntersectionStatus.INTERSECTION
      The quadratic Bézier curve intersects with a segment of the path within the given tolerance radius.
      IntersectionStatus.NO_INTERSECTION_INSIDE
      The quadratic Bézier curve lies inside the path.
      IntersectionStatus.NO_INTERSECTION_OUTSIDE
      The quadratic Bézier curve lies outside the path.
      Parameters:
      a0x - the x-coordinate of control point 0
      a0y - the y-coordinate of control point 0
      a1x - the x-coordinate of control point 1
      a1y - the y-coordinate of control point 1
      a2x - the x-coordinate of control point 2
      a2y - the y-coordinate of control point 2
      pit - the path iterator
      Returns:
      the intersection result