Room
February 16, 2022 ยท View on GitHub
from scene_data.room import Room
A room in an interior environment. Rooms can be comprised of multiple box-shaped regions.
Each room has 1 main region and n alcove regions.
For example, an L shaped room has a main region ( | ) and one alcove ( _ ).
Fields
-
main_regionThe mainInteriorRegion. -
alcovesA list of alcove regions. Can be an empty list.
Functions
__init__
Room(main_region, alcoves)
| Parameter | Type | Default | Description |
|---|---|---|---|
| main_region | InteriorRegion | The main InteriorRegion. | |
| alcoves | List[InteriorRegion] | A list of alcove regions. Can be an empty list. |