Close

Relief for ODA Team in Ukraine

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

Returns the distance between the input point and the closest point on this curve.

Parameters
Description
point
[in] Input point.
tol
[in] Geometric tolerance.

Distance value.

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

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