pub fn query_intersecting(
        &self,
        py: Python,
        bounds: &PyTuple,
        hit_test: Option<PyObject>,
    ) -> PyResult<PyObject> {
        let region = self._to_region(bounds)?;

        let hits = self._query(
            py,
            region,
            |region| self.tree.region_intersection_lookup(region),
            hit_test,
        )?;

        // Make a set
        Ok(PySet::new(py, &hits)?.to_object(py))
    }
/// Finds all items in the tree intersecting the supplied region.
Finds all items in the tree intersecting the supplied region.
Finds all items in the tree intersecting the supplied region .
pub fn query_intersecting(
        &self,
        py: Python,
        bounds: &PyTuple,
        hit_test: Option<PyObject>,
    ) -> PyResult<PyObject> {
        let region = self._to_region(bounds)?;
        let hits = self._query(
            py,
            region,
            |region| self.tree.region_intersection_lookup(region),
            hit_test,
        )?;
        // Make a set
        Ok(PySet::new(py, &hits)?.to_object(py))
    }
pub fn query_intersecting ( & self , py : Python , bounds : & PyTuple , hit_test : Option < PyObject > , ) -> PyResult < PyObject > { let region = self . _to_region ( bounds ) ? ; let hits = self . _query ( py , region , | region | self . tree . region_intersection_lookup ( region ) , hit_test , ) ? ; // Make a set Ok ( PySet :: new ( py , & hits ) ? . to_object ( py ) ) }
Finds all items in the tree intersecting the supplied region.
Finds all items in the tree intersecting the supplied region .
&self
py
Python
bounds
&PyTuple
hit_test
Option<PyObject>
&self
py
Python
bounds
&PyTuple
hit_test
Option<PyObject>