OCCSurface.rotated
- OCCSurface.rotated(angle, axis=None, point=None)
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:
Geometry
The rotated geometry.
See also