Checks whether the solid interferes with another solid object.
Parameters
Parameters
Description
otherSolid
[in] Pointer to another solid object for checking interference.
createNewSolid
[in] Flag determining whether a new solid object containing the interference must be created.
solidsInterfere
[out] Reference to a boolean variable where the result of the interference checking will be stored and returned.
commonVolumeSolid
[out] Reference to a pointer to a new solid containing the interference of the origin solid and otherSolid.
Returns
eOk if interference checking is successful or an appropriate error code in other case.
Remarks
The caller of this function is responsible for the memory used by the object pointed by commonVolumeSolid (resulting from intersection of this solid and otherSolid) when the function finishes. In case when commonVolumeSolid is added to a database, the database takes responsibility for the memory pointed by commonVolumeSolid. In case when commonVolumeSolid is not added to a database, the caller must release memory when it is no longer needed to avoid a memory leak.
This method is implemented for Modeler Geometry and Spatial modeler and returns the eNotImplementedYet status for other modelers.