SmApiBooleanWithOptions#

Defined in SM_API/inc/SmApiBrep.h

SmApiStatus SmApiBooleanWithOptions(
SmBrep *pBrep1,
SmBrep *pBrep2,
SmBooleanOperationType eOperation,
SmBoolean bCookieCutter,
SmBoolean bImprinting,
SmBoolean bBooleanPostProcess,
SmBoolean bImprintAndClassifyFaces,
SmBoolean bKeepOtherBrep,
SmBrep *&rpResult,
)#
Parameters:
  • pBrep1 – [in/out]: Modified in place and returned as rpResult on success; remains allocated but may be modified on failure

  • pBrep2 – [in ]: Deleted on success unless kept (see the Boolean notes above); remains allocated but may be modified on failure

  • eOperation – [in ]: Boolean operation type

  • bCookieCutter – [in ]: TRUE = only remove faces from BrepA

  • bImprinting – [in ]: TRUE = imprint intersection on BrepA and quit

  • bBooleanPostProcess – [in ]: TRUE = remove topological edges/vertices after boolean

  • bImprintAndClassifyFaces – [in ]: TRUE = imprint and mark faces to be deleted

  • bKeepOtherBrep – [in ]: TRUE = do not delete BrepB

  • rpResult – [out]: Resulting SmBrep