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

 

Example of Working with the Circular Arc 

Computed Circular Arc Properties

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