CurveEvaluator2D.getPointsAtParameters Method

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

Description

Get the points on the curve that correspond to evaluating a set of parameter positions on the curve.

Syntax

"curveEvaluator2D_var" is a variable referencing a CurveEvaluator2D object.

(returnValue, points) = curveEvaluator2D_var.getPointsAtParameters(parameters)

#include <Core/Geometry/CurveEvaluator2D.h

// Declare the output arguments.
double[] parameters;
Point2D[] points;
boolean returnValue = curveEvaluator2D_var->getPointsAtParameters(parameters, points);

Return Value

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

Parameters

Name Type Description
parameters double[] The array of parameter positions to evaluate the curve position at. Each parameter value must be within the range of the parameter extents as provided by getParameterExtents.
points Point2D[] The output array of curve positions corresponding to evaluating the curve at that parameter position. The length of this array will be equal to the length of the parameters array specified.

Version

Introduced in version August 2014