CurveEvaluator3D.getFirstDerivative Method

Parent Object: CurveEvaluator3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/CurveEvaluator3D.h>

Description

Get the first derivative of the curve at the specified parameter position.

Syntax

"curveEvaluator3D_var" is a variable referencing a CurveEvaluator3D object.

(returnValue, firstDerivative) = curveEvaluator3D_var.getFirstDerivative(parameter)

#include <Core/Geometry/CurveEvaluator3D.h

// Declare the output arguments.
double parameter;
Ptr<Vector3D> firstDerivative;
boolean returnValue = curveEvaluator3D_var->getFirstDerivative(parameter, firstDerivative);

Return Value

Type Description
boolean Returns true if the first derivative was successfully returned.

Parameters

Name Type Description
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 Vector3D The output first derivative vector at the parameter position specified.

Version

Introduced in version August 2014