CurveEvaluator2D.getPointAtParameter Method

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

Description

Get the point on the curve that corresponds to evaluating a parameter position on the curve.

Syntax

"curveEvaluator2D_var" is a variable referencing a CurveEvaluator2D object.

(returnValue, point) = curveEvaluator2D_var.getPointAtParameter(parameter)

#include <Core/Geometry/CurveEvaluator2D.h

// Declare the output arguments.
double parameter;
Ptr<Point2D> point;
boolean returnValue = curveEvaluator2D_var->getPointAtParameter(parameter, point);

Return Value

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

Parameters

Name Type Description
parameter double The parameter position to evaluate the curve position at. The parameter value must be within the range of the parameter extents as provided by getParameterExtents.
point Point2D The output curve position corresponding to evaluating the curve at that parameter position.

Version

Introduced in version August 2014