~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/vector/rtree/split_q.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/****************************************************************************
3
 
* MODULE:       R-Tree library 
4
 
*              
5
 
* AUTHOR(S):    Antonin Guttman - original code
6
 
*               Daniel Green (green@superliminal.com) - major clean-up
7
 
*                               and implementation of bounding spheres
8
 
*               
9
 
* PURPOSE:      Multidimensional index
10
 
*
11
 
* COPYRIGHT:    (C) 2001 by the GRASS Development Team
12
 
*
13
 
*               This program is free software under the GNU General Public
14
 
*               License (>=v2). Read the file COPYING that comes with GRASS
15
 
*               for details.
16
 
*****************************************************************************/
17
 
 
18
 
/*-----------------------------------------------------------------------------
19
 
| Definitions and global variables.
20
 
-----------------------------------------------------------------------------*/
21
 
 
22
 
#define METHODS 1
23
 
 
24
 
struct PartitionVars {
25
 
    int partition[MAXCARD + 1];
26
 
    int total, minfill;
27
 
    int taken[MAXCARD + 1];
28
 
    int count[2];
29
 
    struct Rect cover[2];
30
 
    RectReal area[2];
31
 
};
32
 
 
33
 
extern struct Branch BranchBuf[MAXCARD + 1];
34
 
extern int BranchCount;
35
 
extern struct Rect CoverSplit;
36
 
extern RectReal CoverSplitArea;
37
 
 
38
 
/* variables for finding a partition */
39
 
extern struct PartitionVars Partitions[METHODS];