SmApiBrepRelationship#
Defined in SM_API/inc/SmApiQueries.h
- SmApiStatus SmApiBrepRelationship(
- const SmBrep *pBrepA,
- const SmBrep *pBrepB,
- int &rRelationship,
- double &rdDistance,
- Parameters:
pBrepA – [in ]: First Brep
pBrepB – [in ]: Second Brep
rRelationship – [out]: 0 separate,1 touching,2 interpenetrating,3 A contains B,4 B in A
rdDistance – [out]: surface gap; wall clearance when one contains the other; 0 when touching/interpenetrating