Vector.Zaxis
- classmethod Vector.Zaxis()[source]
Construct a unit vector along the Z axis.
- Returns:
compas.geometry.Vector
A vector with components
x = 0.0, y = 0.0, z = 1.0
.
Examples
>>> Vector.Zaxis() == [0, 0, 1] True
Site Navigation
Construct a unit vector along the Z axis.
compas.geometry.Vector
A vector with components x = 0.0, y = 0.0, z = 1.0
.
Examples
>>> Vector.Zaxis() == [0, 0, 1]
True