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

 

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