Point2D.getData Method

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

Description

Gets the data defining the point.

Syntax

"point2D_var" is a variable referencing a Point2D object.

(returnValue, x, y) = point2D_var.getData()

#include <Core/Geometry/Point2D.h

// Declare the output arguments.
double x;
double y;
boolean returnValue = point2D_var->getData(x, y);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
x double The output x coordinate of the point.
y double The output y coordinate of the point.

Version

Introduced in version August 2014