Eunoia for Python · python · 0.6.0

eunoia.RotatedRectangle

RotatedRectangle(set: str, center: eunoia.Point, width: float, height: float, rotation: float)

A fitted rotated rectangle for one input set.

width and height are the side lengths before rotation; rotation is the counterclockwise angle from the x-axis, in radians.

set

set: str

center

center: eunoia.Point

width

width: float

height

height: float

rotation

rotation: float