city_retrofit/city_model_structure/level_of_detail.py

58 lines
1.2 KiB
Python
Raw Normal View History

2022-11-25 15:03:27 -05:00
"""
Level of detail module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2022 Concordia CERC group
Project Coder Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
"""
class LevelOfDetail:
"""
Level of detail for the city class
"""
def __init__(self):
self._geometry = None
self._construction = None
self._usage = None
@property
def geometry(self):
"""
Get the city minimal geometry level of detail
"""
return self._geometry
@geometry.setter
def geometry(self, value):
"""
Set the city minimal geometry level of detail
"""
self._geometry = value
@property
def construction(self):
"""
Get the city minimal construction level of detail
"""
return self._construction
@construction.setter
def construction(self, value):
"""
Set the city minimal construction level of detail
"""
self._construction = value
@property
def usage(self):
"""
Get the city minimal usage level of detail
"""
return self._usage
@usage.setter
def usage(self, value):
"""
Set the city minimal usage level of detail
"""
self._usage = value