Vector.Yaxis
-
classmethod
Vector.
Yaxis
()[source] Construct a unit vector along the Y axis.
- Returns
compas.geometry.Vector
– A vector with componentsx = 0.0, y = 1.0, z = 0.0
.
Examples
>>> Vector.Yaxis() Vector(0.000, 1.000, 0.000)
Vector.
Yaxis
()[source]Construct a unit vector along the Y axis.
compas.geometry.Vector
– A vector with components x = 0.0, y = 1.0, z = 0.0
.
Examples
>>> Vector.Yaxis()
Vector(0.000, 1.000, 0.000)
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2020 compas-dev