cloneCurvesWithXYSplits MethodStatic

Find all intersections among curves in curvesToCut and cutterCurves and return fragments of curvesToCut.

  • For a Loop, ParityRegion, or UnionRegion in curvesToCut:
    • if it is never cut by any cutter curve, it will be left unchanged.
    • if cut, the input is downgraded to a set of Path curves joining at the cut points.
  • All cutting is "as viewed in the xy plane"

cloneCurvesWithXYSplits(curvesToCut: undefined | AnyCurve, cutterCurves: CurveCollection): undefined | AnyCurve

Parameter Type Description
curvesToCut undefined | AnyCurve input curves to be fragmented at intersections with cutterCurves
cutterCurves CurveCollection input curves to intersect with curvesToCut

Returns - undefined | AnyCurve

Defined in

Last Updated: 16 April, 2024