API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::checkInterference Method
OdModelerGeometry::checkInterference Method
Syntax
C++
virtual OdResult checkInterference(OdDbDatabase* database, const OdModelerGeometry* otherSolid, bool createNewSolid, bool& solidsInterfere, OdDb3dSolidPtr& commonVolumeSolid) const = 0;
Parameters 
Description 
OdDbDatabase* database 
[in] Database of the ModelerGeometry objects.  
const OdModelerGeometry* otherSolid 
[in] Pointer to another ModelerGeometry solid object for checking interference.  
bool createNewSolid 
[in] Flag determining where a new solid object containing the interference must be created.  
bool& solidsInterfere 
[out] Reference to a boolean variable indicating whether the result of the interference checking will be stored.  
OdDb3dSolidPtr& commonVolumeSolid 
[out] Reference to a pointer to a new solid containing the interference of the origin solid and otherSolid.
 

eOk if operation is successful or an appropriate error code in other case.

Checks whether the solid interferes with another solid object. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.