CurveEvaluator3D.getParameterAtLength Method

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

Description

Get the parameter position on the curve that is the specified curve length from the specified starting parameter position.

Syntax

"curveEvaluator3D_var" is a variable referencing a CurveEvaluator3D object.

(returnValue, parameter) = curveEvaluator3D_var.getParameterAtLength(fromParameter, length)

#include <Core/Geometry/CurveEvaluator3D.h

// Declare the output arguments.
double fromParameter;
double length;
double parameter;
boolean returnValue = curveEvaluator3D_var->getParameterAtLength(fromParameter, length, parameter);

Return Value

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

Parameters

Name Type Description
fromParameter double The parameter position to start measuring the curve length from. This value must be within the range of the parameter extents as provided by getParameterExtents.
length double The curve length to offset the from parameter by. A negative length value will offset in the negative parameter direction.
parameter double The output parameter value that is the specified curve length from the starting parameter position.

Version

Introduced in version August 2014