API Reference > OdDb Classes > OdDbRay Class > OdDbRay Methods > OdDbRay::getPlane Method
OdDbRay::getPlane Method
Syntax
C++
virtual OdResult getPlane(OdGePlane& gePlane, OdDb::Planarity& gePlanarity) const;
Parameters 
Description 
OdGePlane& gePlane 
[out] Reference to a variable in which this method must save the plane parameters as a plane instance.  
OdDb::Planarity& gePlanarity 
[out] Reference to a variable in which this method must save the plane type (returns kLinear - arbitrary plane). 

Gets an arbitrary plane passed through the ray entity. This method is inherited from the OdDbEntity class. 

 

Example of Working with the Ray Object 

Working with Rays 

OdDbRay::isPlanar(), OdDbEntity::getPlane() methods

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