API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::getParamAtDist Method
OdDbLine::getParamAtDist Method
Syntax
C++
virtual OdResult getParamAtDist(double dist, double& param) const;
Parameters 
Description 
double dist 
[in] Distance value along the line 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. 

Computes the parameter at the distance along the line. Parameter is a distance measured from the start point in drawing units. 

 

Example of Working with the Line Object 

Computed Line Properties

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