MCPcopy
hub / github.com/django/django / contains

Method contains

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

Return True if this geometry contains the other.

(self, other)

Source from the content-addressed store, hash-verified

524 return self._topology(capi.ogr_within, other)
525
526 def contains(self, other):
527 "Return True if this geometry contains the other."
528 return self._topology(capi.ogr_contains, other)
529
530 def overlaps(self, other):
531 "Return True if this geometry overlaps the other."

Callers 5

constructorMethod · 0.45
actions.jsFile · 0.45

Calls 1

_topologyMethod · 0.95

Tested by

no test coverage detected