API Reference > OdDg Classes > OdDgEllipse2d Class > OdDgEllipse2d Methods > OdDgEllipse2d::getParamAtDist Method
OdDgEllipse2d::getParamAtDist Method
Syntax
C++
virtual OdResult getParamAtDist(double dist, double& param) const;
Parameters 
Description 
double dist 
[in] Distance along the curve. 
double& param 
[out] Receives the parameter.  

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

Returns the parameter corresponding to the point a specified distance along this Curve object from its start point. 

 

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