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.
- vector[float, float, float] |
- Returns:
- [float, float, float]
The squared vector.
Examples
>>>