CurveEvaluator3D.getCurvature Method

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

Description

Get the curvature value at a parameter position on the curve.

Syntax

"curveEvaluator3D_var" is a variable referencing a CurveEvaluator3D object.

(returnValue, direction, curvature) = curveEvaluator3D_var.getCurvature(parameter)

#include <Core/Geometry/CurveEvaluator3D.h

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

Return Value

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

Parameters

Name Type Description
parameter double The parameter position to return the curvature information at. This value must be within the range of the parameter extents as provided by getParameterExtents.
direction Vector3D The output direction of the curvature at the position on the curve.
curvature double The output magnitude of the curvature at the position on the curve.

Version

Introduced in version August 2014