polygonBooleanXYToPolyface MethodStatic

Return a polyface whose facets are 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.

polygonBooleanXYToPolyface(inputA: MultiLineStringDataVariant[], operation: RegionBinaryOpType, inputB: MultiLineStringDataVariant[], triangulate: booleanfalse): undefined | Polyface

Parameter Type Description
inputA MultiLineStringDataVariant[] first set of loops
operation RegionBinaryOpType indicates Union, Intersection, Parity, AMinusB, or BMinusA
inputB MultiLineStringDataVariant[] second set of loops
triangulate boolean whether to triangulate the result

Returns - undefined | Polyface

Defined in

Last Updated: 21 November, 2024