提取ifc对象

提取ifc对象数据

 

if(elementType==1) {
    BuildingStorey buildingStoreyObj = new BuildingStorey();
    buildingStoreyObj.setName(ifcObjName);
    buildingStoreyObj.setGlobalID(indexGlobalID);
    list_buildingStoreys.add(buildingStoreyObj);
}
else if(elementType==2){
    //IfcWallStandardCase
    WallStandardCase wallStandardCaseObj = new WallStandardCase();
    wallStandardCaseObj.setName(ifcObjName);
    wallStandardCaseObj.setGlobalID(indexGlobalID);
    list_walls.add(wallStandardCaseObj);
}else if(elementType==3){
    //IfcBeam
    Beam beamObj = new Beam();
    beamObj.setName(ifcObjName);
    beamObj.setGlobalID(indexGlobalID);
    list_beams.add(beamObj);
}else if(elementType==4){
    //IfcColumn
    Column columnObj = new Column();
    columnObj.setName(ifcObjName);
    columnObj.setGlobalID(indexGlobalID);
    list_columns.add(columnObj);
}else if(elementType==5){
    //IfcSlab
    Slab slabObj = new Slab();
    slabObj.setName(ifcObjName);
    slabObj.setGlobalID(indexGlobalID);
    list_slabs.add(slabObj);
}

 

 

############3

 

上一篇:线性表的顺序存储实现


下一篇:butterknife依赖注入框架源码解析