예제 #1
0
파일: geometry.py 프로젝트: zalmoxis/django
 def covers(self, other):
     """
     Return True if the DE-9IM Intersection Matrix for the two geometries is
     T*****FF*, *T****FF*, ***T**FF*, or ****T*FF*. If either geometry is
     empty, return False.
     """
     return capi.geos_covers(self.ptr, other.ptr)
예제 #2
0
 def covers(self, other):
     """
     Return True if the DE-9IM Intersection Matrix for the two geometries is
     T*****FF*, *T****FF*, ***T**FF*, or ****T*FF*. If either geometry is
     empty, return False.
     """
     return capi.geos_covers(self.ptr, other.ptr)