Close

Relief for ODA Team in Ukraine

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

Finds the closest point on this curve to the input point.

Parameters
Description
point
[in] Input point.
pntOnCrv
[out] Closest point on this curve to the input point.
tol
[in] Geometric tolerance.

The closest point of this curve.

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

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