sknano.core.math.Points.rotate

Points.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][source]

Rotate Points coordinates.

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