Exemplo n.º 1
0
 def __call__(self, inter):
     func = GetOccludersF1D()
     occluders = func(inter)
     for a in occluders:
         if a.id == self._id:
             return True
     return False
Exemplo n.º 2
0
 def __init__(self, idlist):
     UnaryPredicate1D.__init__(self)
     self._idlist = idlist
     self.__func1 = GetOccludersF1D()
Exemplo n.º 3
0
 def __init__(self):
     UnaryPredicate1D.__init__(self)
     self.__func1 = GetOccludersF1D()
     self.__func2 = GetShapeF1D()
Exemplo n.º 4
0
 def __call__(self, inter):
     occluders = GetOccludersF1D()(inter)
     return any(a.id == self._id for a in occluders)