Point.rotate¶
giant.ray_tracer.shapes.point
:
- Point.rotate(rotation)[source]¶
This rotates the point into a new frame in place.
Only the location is rotated, since the point itself doesn’t have any orientation.
- Parameters:
rotation (Rotation | Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str]) – The rotation from the previous frame to the new frame. For possible inputs see the
Rotation
documentation.- Return type:
Self