Rays.rotate¶
- Rays.rotate(rotation)[source]¶
Rotates the start location(s) and the direction(s) of the ray(s) in place.
- Parameters
rotation (Union[giant.rotations.Rotation, Sequence, numpy.ndarray]) – an array representing a rotation or a
Rotation
object by which to rotate the rays