API Reference > OdDb Classes > OdDbShape Class > OdDbShape Methods > OdDbShape::getPlane Method
OdDbShape::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. 

planarity and plane return values as follows:: 

 

planarity 
Value 
Description 
plane 
kNonPlanar 
Non-planar 
Not set 
kPlanar 
Planar 
Entity plane 
kLinear 
Linear 
Arrbitrary plane containing this entity 

Returns the plane that contains this entity. 

 

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