Boost logo

Boost-Commit :

From: mariano.consoni_at_[hidden]
Date: 2008-08-07 09:42:21


Author: mconsoni
Date: 2008-08-07 09:42:20 EDT (Thu, 07 Aug 2008)
New Revision: 48017
URL: http://svn.boost.org/trac/boost/changeset/48017

Log:
- Starting with the documentation.

Added:
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/faq.qbk (contents, props changed)
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/index_types.qbk (contents, props changed)
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/introduction.qbk (contents, props changed)
   sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/tutorials.qbk (contents, props changed)

Added: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/faq.qbk
==============================================================================
--- (empty file)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/faq.qbk 2008-08-07 09:42:20 EDT (Thu, 07 Aug 2008)
@@ -0,0 +1,12 @@
+[/ Boost.SpatialIndex - FAQ ]
+[/ Copyright 2008 Federico J. Fernandez ]
+[/ Distributed under the Boost Software License, Version 1.0. (See]
+[/ accompanying file LICENSE_1_0.txt or copy at ]
+[/ http://www.boost.org/LICENSE_1_0.txt) ]
+[/ See http://www.boost.org/ for latest version. ]
+
+[section:faq FAQ]
+
+[section Question]
+
+Answer:
\ No newline at end of file

Added: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/index_types.qbk
==============================================================================
--- (empty file)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/index_types.qbk 2008-08-07 09:42:20 EDT (Thu, 07 Aug 2008)
@@ -0,0 +1,48 @@
+[/ Boost.SpatialIndex - Index types ]
+[/ Copyright 2008 Federico J. Fernandez ]
+[/ Distributed under the Boost Software License, Version 1.0. (See]
+[/ accompanying file LICENSE_1_0.txt or copy at ]
+[/ http://www.boost.org/LICENSE_1_0.txt) ]
+[/ See http://www.boost.org/ for latest version. ]
+
+[section:index_types Index types]
+
+The library implements different types of indexes. In this field, there is
+no general solution, so specific indexes are needed for specific problems.
+
+Two different data structures are proposed for spatial indexing, quadtree and
+rtree.
+
+
+[subsection:quadtree Quadtree]
+
+This structure is a generalization of binary trees for spatial indexing.
+It's organized in recursive quadrants called cells that have a maximum
+capacity for data. When this maximum is reached the cell splits.
+
+There are several types of Quadtrees. In this library we implement the
+point-quadtree, thats indexes points in a two dimensional space.
+
+The structure is very simple and very well suited for collision detection
+algorithms or any algorithms that has a "normal" distribution. It's very
+fast if the data is well-conditioned because each time a quadrant is selected
+a quarter of the total data of the structure is discarded. It allows fast
+insertions (because of its simplicity) and is very good for not very
+large sets that can be loaded in memory.
+
+
+[subsection:rtree Rtree]
+
+Inspired in database B-trees, this data structure splits the space in
+hierarchical areas called minimum bounding rectangles (MBR). Each node
+has a variable number of entries bounded by a minimum and a maximum.
+
+The insertion algorithms choose bounding boxes to ensure that elements
+are placed "near" their spatially related elements. The searching
+algorithms use the bounding boxes to decide to search or not into
+a child node.
+
+Different algorithms could be used to split the nodes when a node is
+full balancing between performance and accuracy in finding the best
+node. In this implementation a linear algorithm is used.
+

Added: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/introduction.qbk
==============================================================================
--- (empty file)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/introduction.qbk 2008-08-07 09:42:20 EDT (Thu, 07 Aug 2008)
@@ -0,0 +1,21 @@
+[/ Boost.SpatialIndex - intro ]
+[/ Copyright 2008 Federico J. Fernandez ]
+[/ Distributed under the Boost Software License, Version 1.0. (See]
+[/ accompanying file LICENSE_1_0.txt or copy at ]
+[/ http://www.boost.org/LICENSE_1_0.txt) ]
+[/ See http://www.boost.org/ for latest version. ]
+
+[section:introduction Introduction]
+
+Spatial indexes are data structures optimized for spatial oriented queries. The
+classic index structures (i.e. a binary tree) aren't spatially enabled, they
+have different ordering criteria but none of them relates to topological
+properties.
+
+Bosot.SpatialIndex aims to implement spatial indexes as part of the Geometry
+Library proposal that Barend Gehrels is preparing for Boost. Nowadays, the
+library supports Quadtree and rTree indexes. Details of the strengths of
+each one will be detailed afterwards.
+
+The scope of these structures is really wide, from collision detection for
+games to geometry indexing for GIS software.

Added: sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/tutorials.qbk
==============================================================================
--- (empty file)
+++ sandbox/SOC/2008/spacial_indexing/libs/spatial_index/doc/tutorials.qbk 2008-08-07 09:42:20 EDT (Thu, 07 Aug 2008)
@@ -0,0 +1,11 @@
+[/ Boost.SpatialIndex - Tutorials ]
+[/ Copyright 2008 Federico J. Fernandez ]
+[/ Distributed under the Boost Software License, Version 1.0. (See]
+[/ accompanying file LICENSE_1_0.txt or copy at ]
+[/ http://www.boost.org/LICENSE_1_0.txt) ]
+[/ See http://www.boost.org/ for latest version. ]
+
+[section:tutorials Tutorials]
+
+[section:tutorial1 Tutorial - Basic usage]
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk