sknano.core.geometric_regions.Square.rotate

Square.rotate(angle=None, axis=None, anchor_point=None, rot_point=None, from_vector=None, to_vector=None, degrees=False, transform_matrix=None, verbose=False, **kwargs)[source]

Rotate GeometricRegion points and vectors.

Parameters:

angle : float

axis : Vector, optional

anchor_point : Point, optional

rot_point : Point, optional

from_vector, to_vector : Vector, optional

degrees : bool, optional

transform_matrix : ndarray