|
@@ -121,6 +121,11 @@ class SpaceAffectUtil {
|
|
|
// 与有变化的元空间有交集的空间
|
|
|
val rsList: MutableList<DCSpace?> = ArrayList()
|
|
|
for (space in spaces!!) {
|
|
|
+ println("spaceId============"+space!!.id)
|
|
|
+ println("bimLocation============"+space!!.bimLocation)
|
|
|
+ println("buildingId============"+space!!.buildingId)
|
|
|
+ println("floorId============"+space!!.floorId)
|
|
|
+ println("localName============"+space!!.localName)
|
|
|
if (space!!.outline.isNullOrEmpty()){
|
|
|
continue
|
|
|
}
|
|
@@ -130,7 +135,6 @@ class SpaceAffectUtil {
|
|
|
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)
|