MCPcopy
hub / github.com/django/django / crosses

Method crosses

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

Return True if this geometry crosses the other.

(self, other)

Source from the content-addressed store, hash-verified

516 return self._topology(capi.ogr_touches, other)
517
518 def crosses(self, other):
519 "Return True if this geometry crosses the other."
520 return self._topology(capi.ogr_crosses, other)
521
522 def within(self, other):
523 "Return True if this geometry is within the other."

Callers 2

test_preparedMethod · 0.45
test_crossesMethod · 0.45

Calls 1

_topologyMethod · 0.95

Tested by 2

test_preparedMethod · 0.36
test_crossesMethod · 0.36