API Reference > OdDg Classes > OdDgCurveElement3d Class > OdDgCurveElement3d Methods > OdDgCurveElement3d::getPointAtDist Method
OdDgCurveElement3d::getPointAtDist Method
Syntax
C++
virtual OdResult getPointAtDist(double dist, OdGePoint3d& pointOnCurve) const;
Parameters 
Description 
double dist 
[in] Distance along the curve. 
OdGePoint3d& 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.