Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 753 Bytes

room.md

File metadata and controls

29 lines (17 loc) · 753 Bytes

Room

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_region The main InteriorRegion.

  • alcoves A 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.