Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbRegion::getPlane Method
Syntax
C++
virtual OdResult getPlane(OdGePlane& plane, OdDb::Planarity& planarity) const;

Gets the OdGePlane object that contains the region. If the region is NULL, then the WCS X-Y plane is returned. 

 

Parameters
Description
plane
[out] Reference to the OdGePlane object that stores the containing plane.
planarity
[out] Reference to a variable containing information about planarity of the OdGePlane object.
  • eOk — if successful.
  • eWrongObjectType — if the region has unplanar face.
  • eInvalidInput — if the faces of the region have different planes.
  • eDegenerateGeometry — if an error is found in the topology.
  • eGeneralModelingFailure — if a fatal error is detected.

If typeVer is NULL, this function uses the type and version of this region entity.

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