eunoia.RotatedRectangle¶
- class eunoia.RotatedRectangle(set: str, center: Point, width: float, height: float, rotation: float)[source]¶
A fitted rotated rectangle for one input set.
widthandheightare the side lengths before rotation;rotationis the counterclockwise angle from the x-axis, in radians.Methods
__init__(set, center, width, height, rotation)Attributes
setcenterwidthheightrotation