2020-06-09 14:07:47 -04:00
|
|
|
"""
|
|
|
|
Layers module
|
|
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
|
|
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
|
|
|
|
"""
|
2020-05-18 13:25:08 -04:00
|
|
|
from city_model_structure.material import Material
|
|
|
|
|
|
|
|
|
|
|
|
class Layer:
|
|
|
|
def __init__(self):
|
|
|
|
self._material = None
|
|
|
|
self._thickness_m = None
|
|
|
|
|
|
|
|
@property
|
|
|
|
def material(self) -> Material:
|
|
|
|
return self._material
|
|
|
|
|
|
|
|
@material.setter
|
|
|
|
def material(self, value):
|
|
|
|
self._material = value
|
|
|
|
|
|
|
|
@property
|
|
|
|
def thickness_m(self):
|
|
|
|
return self._thickness_m
|
|
|
|
|
|
|
|
@thickness_m.setter
|
|
|
|
def thickness_m(self, value):
|
|
|
|
self._thickness_m = value
|