circumvent weird bug in shapely
This commit is contained in:
parent
bedac2db74
commit
4257fc8a77
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class LevelGeometries():
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def accessible(self):
|
def accessible(self):
|
||||||
return self.areas.difference(self.holes).difference(self.obstacles)
|
return self.areas.difference(cascaded_union([self.holes, self.obstacles]))
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def accessible_without_oneways(self):
|
def accessible_without_oneways(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue