sknano.core.crystallography.Crystal2DLattice.rotate¶
-
Crystal2DLattice.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 unit cell.
Parameters: angle : float
axis :
Vector, optionalanchor_point :
Point, optionalrot_point :
Point, optionalfrom_vector, to_vector :
Vector, optionaldegrees : bool, optional
transform_matrix :
ndarraySee also
core.math.rotate