Line3D.getData Method

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

Description

Gets all of the data defining the line segment.

Syntax

"line3D_var" is a variable referencing a Line3D object.

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

#include <Core/Geometry/Line3D.h

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

Return Value

Type Description
boolean Returns true if successful.

Parameters

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

Version

Introduced in version August 2014