SmApiBooleanLists#

Defined in SM_API/inc/SmApiBrep.h

SmApiStatus SmApiBooleanLists(
const SmTArray<SmBrep*> &rBreps1,
const SmTArray<SmSurface*> &rSurfaces1,
const SmTArray<SmBrep*> &rBreps2,
const SmTArray<SmSurface*> &rSurfaces2,
int operation,
SmTArray<SmBrep*> &rResultBreps,
SmTArray<SmSurface*> &rResultSurfaces,
)#
Parameters:
  • rBreps1 – [in ]: First list of breps

  • rSurfaces1 – [in ]: First list of surfaces (for planar 2D)

  • rBreps2 – [in ]: Second list of breps

  • rSurfaces2 – [in ]: Second list of surfaces (for planar 2D)

  • operation – [in ]: 0=AND, 1=OR, 2=XOR, 3=A-B, 4=B-A

  • rResultBreps – [out]: Output breps

  • rResultSurfaces – [out]: Output surfaces (if all inputs 2D)