sknano.utils.geometric_shapes.Square¶
-
class
sknano.utils.geometric_shapes.Square(center=None, a=None)[source][source]¶ Abstract data structure representing a square.
New in version 0.3.0.
Parameters: center : sequence, optional
a : float, optional
length of side
Attributes
aareacentercentroidMethods
contains_point(point)rotate([angle, rot_axis, anchor_point, ...])Rotate GeometricRegionPoints and Vectors.translate(t[, fix_anchor_points])Translate GeometricRegions Points and Vectors byVectort.