API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > booleanIntersect Method > OdDbSurface::booleanIntersect Method (OdDb3dSolidPtr, OdDbEntityPtrArray&)
OdDbSurface::booleanIntersect Method (OdDb3dSolidPtr, OdDbEntityPtrArray&)
Syntax
C++
virtual OdResult booleanIntersect(const OdDb3dSolidPtr pSolid, OdDbEntityPtrArray& intersectionEntities);
Parameters 
Description 
const OdDb3dSolidPtr pSolid 
[in] Pointer to the solid object to be intersected with the surface.  
OdDbEntityPtrArray& intersectionEntities 
[out] A reference to an entity array for storing the results of the intersection operation between the solid and surface. The resulting array can contain the following types of entities: OdDbSurface, OdDbLine, OdDbCircle, OdDbArc, OdDbEllipse, and OdDbSpline.
 

Returns eOk if the intersection operation is successfully performed, or an appropriate error code otherwise.

Performs a Boolean intersection operation between this surface and the specified solid object. Entities representing the intersections between the two entities are stored in an array. 

 

Resulting entities are not included in the database, so the caller is responsible for the correct handling of the memory pointed to with the result array's items. 

This method is implemented only for Spatial modeler and returns eNotImplementedYet status for other modelers.

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