GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-c17eaff561
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 352 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 185 of file indexm.c.

References b, MAXLEVEL, NULL, and t.

Referenced by RTreeCreateTree().

◆ RTreeSearchM()

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

Definition at line 33 of file indexm.c.

Referenced by RTreeCreateTree().

◆ RTreeValidChildM()

int RTreeValidChildM ( union RTree_Child child)

Definition at line 23 of file indexm.c.

References NULL, and RTree_Child::ptr.

Referenced by RTreeCreateTree().