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

Returns the point on this curve closest to the specified point. 

 

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