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

 

Example of Working with the Ray Object 

Computed Ray Properties

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