Vector.Xaxis
- classmethod Vector.Xaxis()[source]
Construct a unit vector along the X axis.
- Returns:
compas.geometry.VectorA vector with components
x = 1.0, y = 0.0, z = 0.0.
Examples
>>> Vector.Xaxis() Vector(1.000, 0.000, 0.000)
Site Navigation
compas
compas_blender
compas_ghpython
compas_rhino
Construct a unit vector along the X axis.
compas.geometry.VectorA vector with components x = 1.0, y = 0.0, z = 0.0.
Examples
>>> Vector.Xaxis()
Vector(1.000, 0.000, 0.000)