MCPcopy Create free account
hub / github.com/shapely/shapely / dwithin

Method dwithin

shapely/geometry/base.py:833–838  ·  view source on GitHub ↗

Return True if geometry is within a given distance from the other. Refer to `shapely.dwithin` for full documentation.

(self, other, distance)

Source from the content-addressed store, hash-verified

831 return _maybe_unpack(shapely.within(self, other))
832
833 def dwithin(self, other, distance):
834 """Return True if geometry is within a given distance from the other.
835
836 Refer to `shapely.dwithin` for full documentation.
837 """
838 return _maybe_unpack(shapely.dwithin(self, other, distance))
839
840 def equals_exact(self, other, tolerance=0.0, *, normalize=False):
841 """Return True if the geometries are equivalent within the tolerance.

Callers 4

queryMethod · 0.80
dwithinFunction · 0.80
test_dwithinFunction · 0.80
test_dwithinFunction · 0.80

Calls 1

_maybe_unpackFunction · 0.85

Tested by 2

test_dwithinFunction · 0.64
test_dwithinFunction · 0.64