tidy3d.Geometry.rotated#
- class rotated#
Bases:
Return a rotated copy of this geometry.
- Parameters:
angle (float) β Rotation angle (in radians).
axis (Union[int, Tuple[float, float, float]]) β Axis of rotation: 0, 1, or 2 for x, y, and z, respectively, or a 3D vector.
- Returns:
Rotated copy of this geometry.
- Return type:
Geometry
Inherited Common Usage