Torus.rotated
- Torus.rotated(angle, axis=None, point=None)[source]
Returns a rotated copy of this geometry.
- Parameters:
- anglefloat
The angle of rotation in radians.
- axis
compas.geometry.Vector, optional The axis of rotation. Defaults to the z-axis.
- point
compas.geometry.Point, optional The base point of the rotation axis. Defaults to the origin.
- Returns:
GeometryThe rotated geometry.
See also