RawSurface.rotate

giant.ray_tracer.shapes.surface:

RawSurface.rotate(self, rotation)

This method rotates the surface into a new frame.

The rotation is applied to the vertices, normals, bounding_box, and reference_ellipsoid.

Parameters:

rotation (Union[Rotation, ARRAY_LIKE]) – an array like object or an Rotation object to rotate the surface by. See the Rotation documentation for details on valid inputs