建筑设计对象化类图
2021-03-26 15:44:59 0 举报
建筑设计系统中的对象化类图
作者其他创作
大纲/内容
Space
+ __init__()+ copy()+ to_dict()+ to_json()
+ chinese_name = \"空间基类\" + contour = contour + area = contour.area+ bbox = bbox+ name_list = name_list+ is_small_room = is_small_room + space_base_type = SpaceBaseType.BASE + .....
# 避难间空间举例,其他类同
# 按钮构件举例,其他类同
SpaceBaseType
BASE = auto() # 基础类型 SITEPLAN_PIELD = auto() # 总图场地范围 INDOOR_FUNCTIONAL_SPACE = auto() # 室内功能空间 OUTDOOR_SUPPORT_SPACE = auto() # 室外辅助空间 PIELD_AREA = auto() # 场地范围 FIRE_PREVENTION_ZONE = auto() # 消防分区 SYSTEM_LOCATION = auto() # 系统所在范围 OTHERS = auto()
TextEntity
+ __init__()+ to_dict()
+ bbox = bbox+ text_type = TextType + layer = layer+ extend_message = extend_message
Enum
# 图元类构件
# 合并类构件
#空间基础类型
# 合并且分类构件
# 废水横管构件举例,其他类同
PrimitiveEntity
+ entity_class = processed_gbe.layer_name+ bounding_rectangle = self.get_bbox(processed_gbe)+ start_end_point_list = [processed_gbe.coord]
+ __init__()+ get_bbox()
FeiShuiHengGuan
+ chinese_name = \"废水横管\"+ entity_base_type = EntityBaseType.PIPE
+ __init__()
BiaoGaoFuHao
+ chinese_name = \"标高符号\"+ bounding_rectangle = entity_object.bounding_rectangle+ entity_base_type = EntityBaseType.TEXT+ labeled_height+ labeled_type+ labeld_type_height_dict
AnNiu
+ chinese_name = \"按钮\"+ entity_base_type = EntityBaseType.ELECTRIC_DEVICE
object
Entity
+ __init__()+ to_dict()+ to_json()
+ chinese_name = \"构件基类\" + entity_base_type = EntityBaseType.BASE + entity_class = entity_class + bounding_rectangle = bounding_rectangle + ......
LiMianLanGan
+ chinese_name = \"立面栏杆\"+ entity_base_type = EntityBaseType.HANDRAIL
CombinedEntity
Mark
+ __init__()+ to_dict()+ to_json()+ gbe_list()
+ _gbe_list = [] + chinese_name = \"标记\"
BiNanJian
+ chinese_name = \"避难间\"+ space_base_type = SpaceBaseType.INDOOR_FUNCTIONAL_SPACE
# 标高符号标记举例,其他类同
# 立面栏杆构件举例,其他类同
#构件基础类型
Contour
+ __init__()+ _get_area()
ClassifiedEntity
EntityBaseType
BASE = auto() # 基础类型DOOR = auto() # 门WINDOW = auto() # 窗PILLAR = auto() # 柱PIELD = auto() # 场地......
0 条评论
下一页
为你推荐
查看更多