adding new city_objects
This commit is contained in:
parent
16e33b3772
commit
2f47df2a7c
31
city_model_structure/tree.py
Normal file
31
city_model_structure/tree.py
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@property
|
||||
def height(self):
|
||||
"""
|
||||
Get height of tree
|
||||
:return: height
|
||||
"""
|
||||
return self._height
|
||||
|
||||
|
||||
@property
|
||||
def canopy(self):
|
||||
"""
|
||||
Get canopy of tree
|
||||
:return: canopy
|
||||
"""
|
||||
return self._canopy
|
||||
|
Loading…
Reference in New Issue
Block a user