Line2D.getData Method

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

Description

Gets all of the data defining the line segment.

Syntax

"line2D_var" is a variable referencing a Line2D object.

(returnValue, startPoint, endPoint) = line2D_var.getData()

#include <Core/Geometry/Line2D.h

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

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
startPoint Point2D The output start point of the line.
endPoint Point2D The output end point of the line.

Version

Introduced in version August 2014