C++
GE_DLLEXPIMPORT void getClosestPointTo( const AcGePoint3d& pnt, AcGePointOnCurve3d& pntOnCrv, const AcGeTol& tol = AcGeContext::gTol ) const;
Description
Finds the closest point on this curve to the input point. This function is the same as closestPointTo(), except that the closest point is returned as an AcGePointOnCurve3d object.
Parameters
Parameters | Description |
---|---|
pnt | Input any 3D point |
pntOnCrv | Output closest point on this curve to input point |
tol | Input tolerance |