API Reference > OdDb Classes > OdDbRay Class > OdDbRay Methods > OdDbRay::getFirstDeriv Method
OdDbRay::getFirstDeriv Method
Syntax
C++
virtual OdResult getFirstDeriv(double param, OdGeVector3d& firstDeriv) const;
Parameters 
Description 
double param 
[in] Parameter value specifying the point on the ray as a Double value.  
OdGeVector3d& firstDeriv 
[out] Reference to a variable in which this method must save the first derivative as three-dimensional vector instance. 

Computes the first derivative for the specified parameter of the ray entity and returns the three-dimensional vector instance. The first derivative is constant for any point of the ray. 

 

Example of Working with the Ray Object 

Computed Ray Properties

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