MCPcopy
hub / github.com/django/django / touches

Method touches

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

Return True if this geometry touches the other.

(self, other)

Source from the content-addressed store, hash-verified

512 return self._topology(capi.ogr_disjoint, other)
513
514 def touches(self, other):
515 "Return True if this geometry touches the other."
516 return self._topology(capi.ogr_touches, other)
517
518 def crosses(self, other):
519 "Return True if this geometry crosses the other."

Callers 2

test_preparedMethod · 0.45
test_touchesMethod · 0.45

Calls 1

_topologyMethod · 0.95

Tested by 2

test_preparedMethod · 0.36
test_touchesMethod · 0.36