CurveEvaluator2D.getFirstDerivative Method
Parent Object:
CurveEvaluator2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/CurveEvaluator2D.h>
Description
Get the first derivative of the curve at the specified parameter position.
Syntax
"curveEvaluator2D_var" is a variable referencing a CurveEvaluator2D object.
(returnValue, firstDerivative) = curveEvaluator2D_var.getFirstDerivative(parameter)
|
#include <Core/Geometry/CurveEvaluator2D.h
// Declare the output arguments. double parameter; Ptr<Vector2D> firstDerivative; boolean returnValue = curveEvaluator2D_var->getFirstDerivative(parameter, firstDerivative);
|
Return Value
boolean |
Returns true if the first derivative was successfully returned. |
Parameters
parameter |
double |
The parameter position to get the curve first derivative at. The parameter value must be within the range of the parameter extents as provided by getParameterExtents. |
firstDerivative |
Vector2D |
The output first derivative vector at the parameter position specified. |
Version
Introduced in version August 2014