GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71942
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
split.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <float.h>
#include <grass/gis.h>
#include "index.h"
#include "card.h"
#include "split.h"
Include dependency graph for split.c:

Go to the source code of this file.

Macros

#define DBL_MAX   1.797693E308 /* DBL_MAX approximation */
 

Functions

void RTreeInitPVars (struct RTree_PartitionVars *p, int maxrects, int minfill, struct RTree *t)
 
void RTreeSplitNode (struct RTree_Node *n, struct RTree_Branch *b, struct RTree_Node *nn, struct RTree *t)
 

Macro Definition Documentation

#define DBL_MAX   1.797693E308 /* DBL_MAX approximation */

Definition at line 31 of file split.c.

Function Documentation

void RTreeSplitNode ( struct RTree_Node n,
struct RTree_Branch b,
struct RTree_Node nn,
struct RTree t 
)

Definition at line 600 of file split.c.

References RTree_Node::count, RTree_Node::level, MAXKIDS, METHOD, MINFILL, RTree::p, and RTree_PartitionVars::total.

Referenced by RTreeAddBranch().