OCCNurbsSurface.rotated

OCCNurbsSurface.rotated(angle, axis=None, point=None)

Returns a rotated copy of this geometry.

Parameters:
anglefloat

The angle of rotation in radians.

axiscompas.geometry.Vector, optional

The axis of rotation. Defaults to the z-axis.

pointcompas.geometry.Point, optional

The base point of the rotation axis. Defaults to the origin.

Returns:
Geometry

The rotated geometry.