GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73378
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rtree_search.c File Reference

Vector library - simplified rtree search. More...

#include <assert.h>
#include <grass/vector.h>
Include dependency graph for rtree_search.c:

Go to the source code of this file.


int RTreeSearch2 (struct RTree *t, struct RTree_Rect *r, struct ilist *list)

Detailed Description

Vector library - simplified rtree search.

Higher level functions for reading/writing/manipulating vectors.

(C) 2012 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Soeren Gebbert

Definition in file rtree_search.c.

Function Documentation

int RTreeSearch2 ( struct RTree t,
struct RTree_Rect r,
struct ilist list 

Search in an index tree for all data retangles that overlap the argument rectangle.

t,:The RTree
r,:The argument rectangle
list,:The list to store the ids of overlapping rectangles
the number of qualifying data rects.

Definition at line 38 of file rtree_search.c.

References assert, G_init_ilist(), and RTree::search_rect.