Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgCurveElement2d::getDistAtPoint Method
Syntax
C++
virtual OdResult getDistAtPoint(const OdGePoint2d& pointOnCurve, double& dist) const;

Returns the distance along this Curve object from its start point to the specified WCS point. 

 

Parameters
Description
pointOnCurve
[in] Point on the curve.
dist
[out] Receives the distance.

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

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