GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
indexm.c File Reference
#include <stdlib.h>
#include <assert.h>
#include <grass/gis.h>
#include "index.h"
Include dependency graph for indexm.c:

Go to the source code of this file.

Functions

int RTreeValidChildM (union RTree_Child *child)
 
int RTreeSearchM (struct RTree *t, struct RTree_Rect *r, SearchHitCallback *shcb, void *cbarg)
 
int RTreeInsertRectM (struct RTree_Rect *r, union RTree_Child child, int level, struct RTree *t)
 
int RTreeDeleteRectM (struct RTree_Rect *r, union RTree_Child child, struct RTree *t)
 

Function Documentation

◆ RTreeDeleteRectM()

int RTreeDeleteRectM ( struct RTree_Rect r,
union RTree_Child  child,
struct RTree t 
)

Definition at line 354 of file indexm.c.

References NULL.

Referenced by RTreeCreateTree().

◆ RTreeInsertRectM()

int RTreeInsertRectM ( struct RTree_Rect r,
union RTree_Child  child,
int  level,
struct RTree t 
)

Definition at line 186 of file indexm.c.

References b, MAXLEVEL, NULL, and RTree::overflow.

Referenced by RTreeCreateTree().

◆ RTreeSearchM()

int RTreeSearchM ( struct RTree t,
struct RTree_Rect r,
SearchHitCallback shcb,
void *  cbarg 
)

Definition at line 34 of file indexm.c.

Referenced by RTreeCreateTree().

◆ RTreeValidChildM()

int RTreeValidChildM ( union RTree_Child child)

Definition at line 24 of file indexm.c.

References NULL, and RTree_Child::ptr.

Referenced by RTreeCreateTree().