Point2D.y Property

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

Description

Gets and sets the Y coordinate of the point.

Syntax

"point2D_var" is a variable referencing a Point2D object.

# Get the value of the property.
propertyValue = point2D_var.y

# Set the value of the property.
point2D_var.y = propertyValue
"point2D_var" is a variable referencing a Point2D object.
#include <Core/Geometry/Point2D.h>

// Get the value of the property.
double propertyValue = point2D_var->y();

// Set the value of the property, where value_var is a double.
bool returnValue = point2D_var->y(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version August 2014