Vector.Xaxis
-
classmethod
Vector.Xaxis()[source] Construct a unit vector along the X axis.
- Returns
compas.geometry.Vector– A vector with componentsx = 1.0, y = 0.0, z = 0.0.
Examples
>>> Vector.Xaxis() Vector(1.000, 0.000, 0.000)
Vector.Xaxis()[source]Construct a unit vector along the X axis.
compas.geometry.Vector – A vector with components x = 1.0, y = 0.0, z = 0.0.
Examples
>>> Vector.Xaxis()
Vector(1.000, 0.000, 0.000)