Share

Vector2D.x Property

Parent Object: Vector2D
Defined 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

Property Value

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

Version

Introduced in version August 2014

Was this information helpful?