Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::getSection Method
Syntax
C++
virtual OdResult getSection(const OdGePlane& plane, OdDbRegionPtr & sectionRegion) const;

Creates a DbRegion entity as a result of the intersection between the specified plane and the solid. 

 

Parameters
Description
plane
[in] Reference to an OdGePlane object to use as the section cutting plane.
sectionRegion
[out] Reference to a new region created as the result of the intersection between the specified plane and the solid.

eOk if successful or an appropriate error code in other case. eOk is also returned when a plane and the solid do not intersect each other or if the intersection region is not a valid region: it intersects at a point, along a bounding face of the solid and so on.

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.