first stuff for graph building – collecting points
This commit is contained in:
parent
ffd5c3fa70
commit
211ef767db
7 changed files with 164 additions and 0 deletions
|
@ -90,6 +90,10 @@ class LevelGeometries():
|
|||
def holes(self):
|
||||
return cascaded_union([holes.geometry for holes in self.level.holes.all()]).intersection(self.areas)
|
||||
|
||||
@cached_property
|
||||
def accessible(self):
|
||||
return self.areas.difference(self.holes).difference(self.obstacles)
|
||||
|
||||
@cached_property
|
||||
def buildings_with_holes(self):
|
||||
return self.buildings.difference(self.holes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue