Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCurve3d::getClosestPointTo Method (const OdGePoint3d&, OdGePointOnCurve3d&, const OdGeTol&)
Syntax
C++
void getClosestPointTo(const OdGePoint3d& point, OdGePointOnCurve3d& pntOnCrv, const OdGeTol& tol = OdGeContext::gTol) const;

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

 

Parameters
Description
point
[in] Any 3D point.
pntOnCrv
[out] Receives the closest point on this curve.
tol
[in] Geometric tolerance.

By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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