API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::createSectionObjects Method
OdDbSurface::createSectionObjects Method
Syntax
C++
virtual OdResult createSectionObjects(const OdGePlane& sectionPlane, OdDbEntityPtrArray& sectionObjects) const;
Parameters 
Description 
const OdGePlane& sectionPlane 
[in] Pointer to a plane object used for the intersection (section cutting plane).  
OdDbEntityPtrArray& sectionObjects 
[out] Reference to the entity array for representing resulting sections.
 

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

Intersects the specified plane with the surface and stores the result of the intersection 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 resulting array's items. 

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

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