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] A reference to an entity array for representing resulting sections. 

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

Intersects the specified plane with the surface and creates the intersection in a resulting 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.