Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSurface::convertToRegion Method
Syntax
C++
virtual OdResult convertToRegion(OdDbEntityPtrArray& regions);

Creates region (OdDbRegion class) entities for each face of the surface. 

 

Parameters
Description
regions
[out] Reference to an array of the OdDbRegion entities created from the face of the surface.

eOk if successful, or an appropriate error code otherwise.

The surface must be planar. Regions created by the method are not included in the database, so the caller is responsible for managing the memory of the created OdDbRegion objects. 

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

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