CurveEvaluator3D.getFirstDerivatives Method

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

Description

Get the first derivatives of the curve at the specified parameter positions.

Syntax

"curveEvaluator3D_var" is a variable referencing a CurveEvaluator3D object.

(returnValue, firstDerivatives) = curveEvaluator3D_var.getFirstDerivatives(parameters)

#include <Core/Geometry/CurveEvaluator3D.h

// Declare the output arguments.
double[] parameters;
Vector3D[] firstDerivatives;
boolean returnValue = curveEvaluator3D_var->getFirstDerivatives(parameters, firstDerivatives);

Return Value

Type Description
boolean Returns true if the first derivatives were successfully returned.

Parameters

Name Type Description
parameters double[] The array of parameter positions to get the curve first derivative at. Each parameter value must be within the range of the parameter extents as provided by getParameterExtents.
firstDerivatives Vector3D[] The output array of first derivative vectors at each parameter position specified. The length of this array is equal to the length of the parameters array specified.

Version

Introduced in version August 2014