Vector.inverted

Vector.inverted()[source]

Returns a inverted copy of this vector

Returns

compas.geometry.Vector

Examples

>>> u = Vector(1.0, 0.0, 0.0)
>>> v = u.inverted()
>>> w = u + v
>>> w.length
0.0