API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::createInterferenceObjects Method
OdModelerGeometry::createInterferenceObjects Method
Syntax
C++
virtual OdResult createInterferenceObjects(OdDbEntityPtrArray& interferenceObjects, OdDbEntityPtr pEntity, unsigned int flags) const = 0;
Parameters 
Description 
OdDbEntityPtrArray& interferenceObjects 
[out] Output array of interference entities.  
OdDbEntityPtr pEntity 
[in] Pointer to an entity the object must interfere with. pEntity can point to the following entity types: OdDbSurface, OdDb3dSolid, OdDbRegion, or OdDbBody.  
unsigned int flags 
[in] Interference flags; equal to kDefault (0x00).
 

Returns eOk if interference entities are successfully created or an appropriate error code otherwise. For example, if interference entities are not created, eNoIntersection error code is returned. eInvalidInput is returned if an unsupported entity or NULL pointer is provided as a value of pEntity.

Creates new entities that represent the result of interference between this ModelerGeometry object and a specified entity. Created entities are appended to the specified array. 

 

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