From de2a319727d0c446129360cb0b509637d6dafb27 Mon Sep 17 00:00:00 2001 From: guille Date: Fri, 25 Nov 2022 14:45:03 -0500 Subject: [PATCH] Initial commit for lod branch --- city_model_structure/building.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/city_model_structure/building.py b/city_model_structure/building.py index 6b52095c..e5cb47c0 100644 --- a/city_model_structure/building.py +++ b/city_model_structure/building.py @@ -131,6 +131,9 @@ class Building(CityObject): def attic_heated(self) -> Union[None, int]: """ Get if the city object attic is heated + 0: no attic in the building + 1: attic exists but is not heated + 2: attic exists and is heated :return: None or int """ return self._attic_heated @@ -139,6 +142,9 @@ class Building(CityObject): def attic_heated(self, value): """ Set if the city object attic is heated + 0: no attic in the building + 1: attic exists but is not heated + 2: attic exists and is heated :param value: int """ if value is not None: @@ -148,6 +154,9 @@ class Building(CityObject): def basement_heated(self) -> Union[None, int]: """ Get if the city object basement is heated + 0: no basement in the building + 1: basement exists but is not heated + 2: basement exists and is heated :return: None or int """ return self._basement_heated @@ -156,6 +165,9 @@ class Building(CityObject): def basement_heated(self, value): """ Set if the city object basement is heated + 0: no basement in the building + 1: basement exists but is not heated + 2: basement exists and is heated :param value: int """ if value is not None: