C++
GE_DLLEXPIMPORT AcGePoint3d closestPointTo( const AcGeCurve3d& curve3d, AcGePoint3d& pntOnOtherCrv, const AcGeTol& tol = AcGeContext::gTol ) const;
Description
Finds the two closest points between this curve and the input curve. The return value of this function is the closest point on this curve. The closest point on the input curve is returned in the pntOnOtherCrv parameter.
Parameters
Parameters | Description |
---|---|
curve3d | Input any 3D curve |
pntOnOtherCrv | Output closest point on input curve to this curve |
tol | Input tolerance used for iterative methods |