Ellipsoid.rotate¶
giant.ray_tracer.shapes.ellipsoid
:
- Ellipsoid.rotate(self, rotation)¶
This method rotates the ellipsoid into a new frame.
The rotation is applied both to the ellipsoid matrix
\[\mathbf{A}_N = \mathbf{T}^C_N\mathbf{A}_C\mathbf{T}_C^N\]to the axis aligned bounding box, and to the center of the ellipsoid.
- Parameters:
rotation (Union[Rotation, ARRAY_LIKE]) – The rotation by which to rotate the ellipsoid.