API Reference > geometry-core > Curve > RegionOps > polygonBooleanXYToLoops polygonBooleanXYToLoops MethodStatic return loops of linestrings around areas of a boolean operation between the input regions. Each of the two inputs is an array of multiple loops or parity regions. Within each of these input arrays, the various entries (loop or set of loops) are interpreted as a union. In each "array of loops and parity regions", each entry inputA[i] or inputB[i] is one of: A simple loop, e.g. array of Point3d. Several simple loops, each of which is an array of Point3d. polygonBooleanXYToLoops(inputA: MultiLineStringDataVariant[], operation: RegionBinaryOpType, inputB: MultiLineStringDataVariant[]): undefined | AnyRegion Parameter Type Description inputA MultiLineStringDataVariant[] operation RegionBinaryOpType inputB MultiLineStringDataVariant[] Returns - undefined | AnyRegion Defined in curve/RegionOps.ts Line 297 Last Updated: 12 June, 2024