Point.translate¶
giant.ray_tracer.shapes.point
:
- Point.translate(translation)[source]¶
This translates the location of the point.
- Parameters:
translation (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – an array like object of size 3
- Raises:
ValueError – if the provided translation is not size 3
- Return type:
Self