GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
indexf.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <assert.h>
#include <grass/gis.h>
#include "index.h"
Include dependency graph for indexf.c:

Go to the source code of this file.

Functions

int RTreeValidChildF (union RTree_Child *child)
 
int RTreeSearchF (struct RTree *t, struct RTree_Rect *r, SearchHitCallback *shcb, void *cbarg)
 
int RTreeInsertRectF (struct RTree_Rect *r, union RTree_Child child, int level, struct RTree *t)
 
int RTreeDeleteRectF (struct RTree_Rect *r, union RTree_Child child, struct RTree *t)
 

Function Documentation

◆ RTreeDeleteRectF()

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

Definition at line 408 of file indexf.c.

References NULL.

Referenced by RTreeCreateTree().

◆ RTreeInsertRectF()

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

Definition at line 214 of file indexf.c.

References b, MAXLEVEL, NULL, RTree::overflow, and RTreeAllocNode().

Referenced by RTreeCreateTree().

◆ RTreeSearchF()

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

Definition at line 37 of file indexf.c.

Referenced by RTreeCreateTree().

◆ RTreeValidChildF()

int RTreeValidChildF ( union RTree_Child child)

Definition at line 27 of file indexf.c.

References RTree_Child::pos.

Referenced by RTreeCreateTree().