system_assignation/city_model_structure/city_object.py

25 lines
511 B
Python

"""
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
class CityObject:
"""
class CityObject
"""
def __init__(self, lod):
self._lod = lod
self._polyhedron = None
self._geometry = GeometryHelper()
@property
def lod(self):
"""
City object level of detail 1, 2, 3 or 4
:return: int
"""
return self._lod