Forráskód Böngészése

测试日志打印参数

laixingqi 1 éve
szülő
commit
a570c38157

+ 5 - 3
revit-algorithm/src/main/kotlin/cn/sagacloud/server/algorithm/common/utils/SpaceAffectUtil.kt

@@ -124,13 +124,17 @@ class SpaceAffectUtil {
             if (space!!.outline.isNullOrEmpty()){
                 continue
             }
+            println("spaceId============"+space!!.id)
+            println("bimLocation============"+space!!.bimLocation)
+            println("buildingId============"+space!!.buildingId)
+            println("floorId============"+space!!.floorId)
+            println("localName============"+space!!.localName)
             out@
             for (outLines in space!!.outline!!) {
                 for (subOutLine in outLines!!){
                     val polygon = createPolygonV2(subOutLine)
                     // 有交集则加入有变化的空间列表
                     for(affect in affectList) {
-                        println("space============"+space)
                         if (isGeoContains(polygon, affect!!)) {
                             // state设置为1
                             space.state = 1
@@ -156,8 +160,6 @@ class SpaceAffectUtil {
         if (fromPolygon == null || toPolygon == null) {
             return false
         }
-        println("fromPolygon================"+fromPolygon)
-        println("toPolygon================"+toPolygon)
         //判断面-面包含关系
         return (fromPolygon.contains(toPolygon)
                 || fromPolygon.equalsTopo(toPolygon)