MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / search

Method search

utilities/olcUTIL_QuadTree.h:284–289  ·  view source on GitHub ↗

Returns a std::list of pointers to items within the search area

Source from the content-addressed store, hash-verified

282
283 // Returns a std::list of pointers to items within the search area
284 std::list<typename IQuadtreeContainer::iterator> search(const geom2d::rect<CTYPE>& rArea) const
285 {
286 std::list<typename IQuadtreeContainer::iterator> listItemPointers;
287 root.search(rArea, listItemPointers);
288 return listItemPointers;
289 }
290
291 void remove(typename IQuadtreeContainer::iterator& item)
292 {

Callers

nothing calls this directly

Calls 1

searchMethod · 0.45

Tested by

no test coverage detected