Vector.Xaxis

classmethod Vector.Xaxis()

Construct a unit vector along the X axis.

Returns

Vector – A vector with components x = 1.0, y = 0.0, z = 0.0.

Examples

>>> Vector.Xaxis()
Vector(1.000, 0.000, 0.000)