city_retrofit/city_model_structure/city_object.py

25 lines
511 B
Python
Raw Normal View History

"""
CityObject module
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
"""
from helpers.geometry_helper import GeometryHelper
2020-06-09 15:14:47 -04:00
class CityObject:
"""
class CityObject
"""
def __init__(self, lod):
self._lod = lod
self._polyhedron = None
2020-06-11 16:22:58 -04:00
self._geometry = GeometryHelper()
@property
def lod(self):
"""
City object level of detail 1, 2, 3 or 4
:return: int
"""
return self._lod