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

Computes the distance along the elliptical figure (ellipse or arc) measured from the start point to the point on the elliptical curve specified the parameter. 

 

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