MCPcopy
hub / github.com/django/django / equals

Method equals

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

Return True if this geometry is equivalent to the other.

(self, other)

Source from the content-addressed store, hash-verified

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."
508 return self._topology(capi.ogr_equals, other)
509
510 def disjoint(self, other):
511 "Return True if this geometry and the other are spatially disjoint."

Callers 15

__eq__Method · 0.95
test_collectMethod · 0.45
test_unionaggMethod · 0.45
test_geoagg_subqueryMethod · 0.45
test_differenceMethod · 0.45
test_envelopeMethod · 0.45
test_make_validMethod · 0.45
test_sym_differenceMethod · 0.45

Calls 1

_topologyMethod · 0.95

Tested by 15

test_collectMethod · 0.36
test_unionaggMethod · 0.36
test_geoagg_subqueryMethod · 0.36
test_differenceMethod · 0.36
test_envelopeMethod · 0.36
test_make_validMethod · 0.36
test_sym_differenceMethod · 0.36
test_unionMethod · 0.36