Class IntersectCubicCurvePolygon

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

public class IntersectCubicCurvePolygon extends Object
  • Method Details

    • intersectCubicCurvePolygon

      public static IntersectionResult intersectCubicCurvePolygon(Point2D p0, Point2D p1, Point2D p2, Point2D p3, List<Point2D.Double> points)
      Computes the intersection between cubic bezier curve 'p' and the given closed polygon.
      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'
      points - the points of the polygon
      Returns:
      the computed intersection