CurveEvaluator2D.getEndPoints Method

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

Description

Get the end points of the curve.

Syntax

"curveEvaluator2D_var" is a variable referencing a CurveEvaluator2D object.

(returnValue, startPoint, endPoint) = curveEvaluator2D_var.getEndPoints()

#include <Core/Geometry/CurveEvaluator2D.h

// Declare the output arguments.
Ptr<Point2D> startPoint;
Ptr<Point2D> endPoint;
boolean returnValue = curveEvaluator2D_var->getEndPoints(startPoint, endPoint);

Return Value

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

Parameters

Name Type Description
startPoint Point2D The output start point of the curve. If the curve is unbounded at the start, this value will be null.
endPoint Point2D The output end point of the curve. If the curve is unbounded at the end, this value will be null.

Version

Introduced in version August 2014