API Reference > OdDb Classes > OdDbXline Class > OdDbXline Methods > OdDbXline::getDistAtParam Method
OdDbXline::getDistAtParam Method
Syntax
C++
virtual OdResult getDistAtParam(double param, double& dist) const;
Parameters 
Description 
double param 
[in] Parameter value specifying the point on the infinite 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 infinite line measured from the base point in drawing units at the specified parameter. 

 

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