geoutils.Vector.translate#
- Vector.translate(xoff=0.0, yoff=0.0, zoff=0.0, inplace=False)[source]#
- Overloads:
self (VectorType), xoff (float), yoff (float), zoff (float), inplace (Literal[False]) → VectorType
self (VectorType), xoff (float), yoff (float), zoff (float), inplace (Literal[True]) → None
self (VectorType), xoff (float), yoff (float), zoff (float), inplace (bool) → VectorType | None
Shift a vector by a (x,y) offset, and optionally a z offset.
The shifting only updates the coordinates (data is untouched).