API Reference > OdDg Classes > OdDgCurveElement2d Class > OdDgCurveElement2d Methods > OdDgCurveElement2d::getPointAtDist Method
OdDgCurveElement2d::getPointAtDist Method
Syntax
C++
virtual OdResult getPointAtDist(double dist, OdGePoint2d& pointOnCurve) const;
Parameters 
Description 
double dist 
[in] Distance along the curve. 
OdGePoint2d& pointOnCurve 
[out] Receives the point.  

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

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

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.