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