API Reference > OdGe Classes > OdGeCurve3d Class > OdGeCurve3d Methods > getLocalClosestPoints Method > OdGeCurve3d::getLocalClosestPoints Method (OdGePoint3d&, OdGePointOnCurve3d&, OdGeInterval*, OdGeTol&)
OdGeCurve3d::getLocalClosestPoints Method (OdGePoint3d&, OdGePointOnCurve3d&, OdGeInterval*, OdGeTol&)
Syntax
C++
void getLocalClosestPoints(const OdGePoint3d& point, OdGePointOnCurve3d& approxPntOnThisCrv, const OdGeInterval* pInterval1 = NULL, const OdGeTol& tol = OdGeContext::gTol) const;
Parameters 
Description 
const OdGePoint3d& point 
[in] Any 3D point.  
OdGePointOnCurve3d& approxPntOnThisCrv 
[in/out] Approximate point on this curve.  
const OdGeInterval* pInterval1 = NULL 
[in] Pointer to the interval in which the point on this curve must lie.  
const OdGeTol& tol = OdGeContext::gTol 
[in] Geometric tolerance. 

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

 

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