sknano.core.geometric_regions.Triangle.rotate¶
-
Triangle.
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
andvectors
.Parameters: angle : float
axis :
Vector
, optionalanchor_point :
Point
, optionalrot_point :
Point
, optionalfrom_vector, to_vector :
Vector
, optionaldegrees : bool, optional
transform_matrix :
ndarray
See also