Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::separateBody Method
Syntax
C++
virtual OdResult separateBody(OdDb3dSolidPtrArray & newSolids) = 0;

Separates the ModelerGeometry object into an array of solids representing the additional disjoint volumes. This ModelerGeometry object is reduced to a solid with one volume. 

 

Parameters
Description
newSolids
[out] Reference to an array of pointers to OdDb3dSolid objects representing the additional disjoint volumes.

eOk if separating was successful or an appropriate error code otherwise.

The calling application is responsible for the resulting entities (either appending them to a database or deleting them when they are no longer needed). If the new solids from the output array are not appended to the database and not deleted, there will be a memory leak.

Copyright © 2002-2022. Open Design Alliance All rights reserved.