Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbCurve::getClosestPointTo Method (const OdGePoint3d&, OdGePoint3d&, bool)
Syntax
C++
virtual OdResult getClosestPointTo(const OdGePoint3d& givenPoint, OdGePoint3d& pointOnCurve, bool extend = false) const;

Returns the point on this Curve object closest to the given point. 

 

Parameters
Description
givenPoint
[in] Given point.
pointOnCurve
[out] Receives the closed point on this Curve object.
extend
[in] Extends this Curve object if and only if true.

Returns eOk if successful, or an appropriate error code if not.

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