API Reference > OdDb Classes > OdDbEllipse Class > OdDbEllipse Methods > OdDbEllipse::getParamAtDist Method
OdDbEllipse::getParamAtDist Method
Syntax
C++
virtual OdResult getParamAtDist(double dist, double& param) const;
Parameters 
Description 
double dist 
[in] Distance value along the elliptical curve as a Double value in drawing units.  
double& param 
[out] Reference to a variable in which this method must save the parameter value as a Double value in radians. 

Computes the parameter at the distance along the elliptical figure (ellipse or arc). Parameter is an angle measured counterclockwise from the major axis in the range 0 to 2PI radians as if the elliptical figure was a circular figure with a major radius. 

 

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