Close

Relief for ODA Team in Ukraine

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

Finds the closest point between this curve and the point of an input curve.

Parameters
Description
curve2d
[in] Input curve.
pntOnOtherCrv
[out] Closest point on the input curve.
tol
[in] Geometric tolerance.

The closest point of this curve.

This function is the same as getClosestPointTo(). By default this function throws the exception "not Implemented". Should be implemented in derived classes.

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