Share

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()

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

Was this information helpful?