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. 

 

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