Skip to main content

st_dwithin

Function st_dwithin 

Source
pub fn st_dwithin(a: &Geometry, b: &Geometry, distance_meters: f64) -> bool
Expand description

ST_DWithin(a, b, distance_meters) — are A and B within the given distance?

Optimized: uses bbox expansion pre-filter to avoid expensive exact distance computation when geometries are clearly far apart.