CurveEvaluator3D.getTangents Method

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

Description

Get the tangent to the curve at a number of parameter positions on the curve.

Syntax

"curveEvaluator3D_var" is a variable referencing a CurveEvaluator3D object.

(returnValue, tangents) = curveEvaluator3D_var.getTangents(parameters)

#include <Core/Geometry/CurveEvaluator3D.h

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

Return Value

Type Description
boolean Returns true if the tangents were successfully returned.

Parameters

Name Type Description
parameters double[] The array of parameter positions to return the tangent at. Each parameter value must be within the range of the parameter extents as provided by getParameterExtents.
tangents Vector3D[] The output array of tangent vectors for each position on the curve. The length of this array will be the same as the length of the parameters array provided.

Version

Introduced in version August 2014