MCPcopy
hub / github.com/django/django / intersects

Method intersects

django/contrib/gis/gdal/geometries.py:502–504  ·  view source on GitHub ↗

Return True if this geometry intersects with the other.

(self, other)

Source from the content-addressed store, hash-verified

500 return func(self.ptr, other.ptr)
501
502 def intersects(self, other):
503 "Return True if this geometry intersects with the other."
504 return self._topology(capi.ogr_intersects, other)
505
506 def equals(self, other):
507 "Return True if this geometry is equivalent to the other."

Callers 4

test_intersectionMethod · 0.95
test_intersectionMethod · 0.45
test_preparedMethod · 0.45
test_intersectsMethod · 0.45

Calls 1

_topologyMethod · 0.95

Tested by 4

test_intersectionMethod · 0.76
test_intersectionMethod · 0.36
test_preparedMethod · 0.36
test_intersectsMethod · 0.36