SmApiBrepMaterialCensus#

Defined in SM_API/inc/SmApiQueries.h

SmApiStatus SmApiBrepMaterialCensus(
const SmBrep *pBrep,
long &rlSolidCount,
long &rlVoidCount,
)#
Parameters:
  • pBrep – [in ]: Pointer to brep (read-only)

  • rlSolidCount –

    [out]: Number of material (solid) regions; excludes the

    infinite region and every void cavity

  • rlVoidCount –

    [out]: Number of enclosed void cavities; excludes the single

    infinite (unbounded) region