API Reference > OdDb Classes > OdDbLine Class > OdDbLine Methods > OdDbLine::getFirstDeriv Method
OdDbLine::getFirstDeriv Method
Syntax
C++
virtual OdResult getFirstDeriv(double param, OdGeVector3d& firstDeriv) const;
Parameters 
Description 
double param 
[in] Parameter value specifying the point on the line 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 line entity and returns the three-dimensional vector instance. The first derivative is constant for any point of the line. 

 

Example of Working with the Line Object 

Computed Line Properties

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