API Reference > OdGe Classes > OdGePlanarEnt Class > OdGePlanarEnt Methods > OdGePlanarEnt::closestPointToPlanarEnt Method
OdGePlanarEnt::closestPointToPlanarEnt Method
Syntax
C++
OdGePoint3d closestPointToPlanarEnt(const OdGePlanarEnt& plane, OdGePoint3d& pointOnOtherPlane, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePlanarEnt& plane 
[in] Any planar entity to which the closest point is computed.  
OdGePoint3d& pointOnOtherPlane 
[out] Receives the closest point on the plane.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns the point on this plane that is closest to the specified plane, and the point on the specified plane that is closest to this plane. 

 

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