Point.translate¶
giant.ray_tracer.shapes.point
:
- Point.translate(translation)[source]¶
This translates the location of the point.
- Parameters:
translation (Sequence | ndarray) – an array like object of size 3
- Raises:
ValueError – if the provided translation is not size 3