CurveEvaluator3D.getTangent 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 parameter position on the curve.

Syntax

"curveEvaluator3D_var" is a variable referencing a CurveEvaluator3D object.

(returnValue, tangent) = curveEvaluator3D_var.getTangent(parameter)

#include <Core/Geometry/CurveEvaluator3D.h

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

Return Value

Type Description
boolean Returns true if the tangent was successfully returned.

Parameters

Name Type Description
parameter double The parameter position to return the tangent at. This value must be within the range of the parameter extents as provided by getParameterExtents.
tangent Vector3D The output tangent vector at the curve position.

Version

Introduced in version August 2014