API Reference > OdDb Classes > OdDbCircle Class > OdDbCircle Methods > OdDbCircle::getDistAtParam Method
OdDbCircle::getDistAtParam Method
Syntax
C++
virtual OdResult getDistAtParam(double param, double& dist) const;
Parameters 
Description 
double param 
[in] Parameter value specifying the point on the circle 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 circle measured from the OCS X-axis to the point on the circle specified the parameter. 

 

Example of Working with the Circle Object 

Computed Circle Properties

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