split.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. /****************************************************************************
  2. * MODULE: R-Tree library
  3. *
  4. * AUTHOR(S): Antonin Guttman - original code
  5. * Daniel Green (green@superliminal.com) - major clean-up
  6. * and implementation of bounding spheres
  7. * Markus Metz - file-based and memory-based R*-tree
  8. *
  9. * PURPOSE: Multidimensional index
  10. *
  11. * COPYRIGHT: (C) 2010 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. | Definitions and global variables.
  19. -----------------------------------------------------------------------------*/
  20. /* METHOD 0: R-Tree, quadratic split */
  21. /* METHOD 1: R*-Tree split */
  22. #define METHOD 1
  23. void RTreeInitPVars(struct RTree_PartitionVars *, int, int, struct RTree *);