Browse Source

测试日志打印参数

laixingqi 1 năm trước cách đây
mục cha
commit
4f148cda78

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

@@ -130,6 +130,7 @@ class SpaceAffectUtil {
                     val polygon = createPolygonV2(subOutLine)
                     // 有交集则加入有变化的空间列表
                     for(affect in affectList) {
+                        println("space============"+space)
                         if (isGeoContains(polygon, affect!!)) {
                             // state设置为1
                             space.state = 1
@@ -155,6 +156,8 @@ class SpaceAffectUtil {
         if (fromPolygon == null || toPolygon == null) {
             return false
         }
+        println("fromPolygon================"+fromPolygon)
+        println("toPolygon================"+toPolygon)
         //判断面-面包含关系
         return (fromPolygon.contains(toPolygon)
                 || fromPolygon.equalsTopo(toPolygon)