API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > projClosestPointTo Method > OdGeCurve3d::projClosestPointTo Method (OdGePoint3d&, OdGeVector3d&, OdGeTol&)
OdGeCurve3d::projClosestPointTo Method (OdGePoint3d&, OdGeVector3d&, OdGeTol&)
Syntax
C++
OdGePoint3d projClosestPointTo(const OdGePoint3d& point, const OdGeVector3d& projectDirection, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] Any 3D point.  
const OdGeVector3d& projectDirection 
[in] Projection direction.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

Returns the point on this curve closest to the specified point when this curve is projected in the specified direction. 

 

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