CurveEvaluator2D.getCurvatures Method
Parent Object:
CurveEvaluator2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/CurveEvaluator2D.h>
Description
Get the curvature values at a number of parameter positions on the curve.
Syntax
"curveEvaluator2D_var" is a variable referencing a CurveEvaluator2D object.
(returnValue, directions, curvatures) = curveEvaluator2D_var.getCurvatures(parameters)
|
#include <Core/Geometry/CurveEvaluator2D.h
// Declare the output arguments. double[] parameters; Vector2D[] directions; double[] curvatures; boolean returnValue = curveEvaluator2D_var->getCurvatures(parameters, directions, curvatures);
|
Return Value
boolean |
Returns true if the curvatures were successfully returned. |
Parameters
parameters |
double[] |
The array of parameter positions to return curvature information at. Each parameter value must be within the range of the parameter extents as provided by getParameterExtents. |
directions |
Vector2D[] |
The output array of the direction of the curvature at each position on the curve. The length of this array will be the same as the length of the parameters array provided. |
curvatures |
double[] |
The output array of the magnitude of the curvature at the 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