Ellipsoid.translate¶
giant.ray_tracer.shapes.ellipsoid
:
- Ellipsoid.translate(self, translation)¶
This method translates the ellipsoid center.
The translation is applied to both the center of the ellipsoid and the axis aligned bounding box for the ellipsoid.
- Parameters:
translation (np.ndarray) – The length 3 translation