square_vector
- compas.geometry.square_vector(vector)[source]
Raise a vector to the power 2.
- Parameters
vector ([float, float, float] |
compas.geometry.Vector
) – XYZ components of the vector.- Returns
[float, float, float] – The squared vector.
Examples
>>>