Close

Relief for ODA Team in Ukraine

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

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

 

Parameters
Description
point
[in] Input point according to which the closest point on this curve is searched.
tol
[in] Geometric tolerance.

The closest point on this curve.

This function is the same as getClosestPointTo().

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