API Reference > OdDb Classes > OdDbPlaneSurface Class > OdDbPlaneSurface Methods > OdDbPlaneSurface::getPlane Method
OdDbPlaneSurface::getPlane Method
Syntax
C++
virtual OdResult getPlane(OdGePlane& plane, OdDb::Planarity& planarity) const;
Parameters 
Description 
OdGePlane& plane 
[out] Receives the plane that contains this entity.  
OdDb::Planarity& planarity 
[out] Receives the planarity of this entity.
 

Returns eOk if successful or an appropriate error code if not.

Returns the plane that contains this entity. 

 

Output parameters planarity and plane are returned as described below: 

 

planarity Value Description plane 
kPlanar 1 Planar Entity plane 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.