Vector3D.x Property

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

Description

The x value.

Syntax

"vector3D_var" is a variable referencing a Vector3D object.

# Get the value of the property.
propertyValue = vector3D_var.x

# Set the value of the property.
vector3D_var.x = propertyValue
"vector3D_var" is a variable referencing a Vector3D object.
#include <Core/Geometry/Vector3D.h>

// Get the value of the property.
double propertyValue = vector3D_var->x();

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

Property Value

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

Version

Introduced in version August 2014