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. 

 

Example of Working with the Ray Object 

Computed Ray Properties

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