# eunoia.RotatedRectangle

Python · 0.6.0

[Source](<https://github.com/jolars/eunoia-py/blob/af16491d64a6d1f3b87b8645bd9697593daa0f02/python/eunoia/_models.py>)

<a id="constructor"></a>

```python
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.

<a id="set"></a>

## `set`

```python
set: str
```

[Source](<https://github.com/jolars/eunoia-py/blob/af16491d64a6d1f3b87b8645bd9697593daa0f02/python/eunoia/_models.py>)

<a id="center"></a>

## `center`

```python
center: eunoia.Point
```

[Source](<https://github.com/jolars/eunoia-py/blob/af16491d64a6d1f3b87b8645bd9697593daa0f02/python/eunoia/_models.py>)

<a id="width"></a>

## `width`

```python
width: float
```

[Source](<https://github.com/jolars/eunoia-py/blob/af16491d64a6d1f3b87b8645bd9697593daa0f02/python/eunoia/_models.py>)

<a id="height"></a>

## `height`

```python
height: float
```

[Source](<https://github.com/jolars/eunoia-py/blob/af16491d64a6d1f3b87b8645bd9697593daa0f02/python/eunoia/_models.py>)

<a id="rotation"></a>

## `rotation`

```python
rotation: float
```

[Source](<https://github.com/jolars/eunoia-py/blob/af16491d64a6d1f3b87b8645bd9697593daa0f02/python/eunoia/_models.py>)
