Vector2D.x Property
Parent Object:
Vector2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Vector2D.h>
Description
Gets and sets the X coordinate of the vector.
Syntax
"vector2D_var" is a variable referencing a Vector2D object.
# Get the value of the property. propertyValue = vector2D_var.x
# Set the value of the property. vector2D_var.x = propertyValue
|
"vector2D_var" is a variable referencing a Vector2D object.
#include <Core/Geometry/Vector2D.h>
// Get the value of the property. double propertyValue = vector2D_var->x();
// Set the value of the property, where value_var is a double. bool returnValue = vector2D_var->x(value_var);
|
Property Value
This is a read/write property whose value is a double.
Version
Introduced in version August 2014