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

Computes the distance along the line measured from the start point in drawing units at the specified parameter. 

 

Example of Working with the Line Object 

Computed Line Properties

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