Assembly.rotate

Assembly.rotate(angle, axis=None, point=None)

Rotate the datastructure.

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:
None