Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74621 - in sandbox-branches/geometry/index: boost/geometry/extensions/index/rtree tests
From: adam.wulkiewicz_at_[hidden]
Date: 2011-10-01 06:03:38


Author: awulkiew
Date: 2011-10-01 06:03:38 EDT (Sat, 01 Oct 2011)
New Revision: 74621
URL: http://svn.boost.org/trac/boost/changeset/74621

Log:
some comments added
Text files modified:
   sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp | 4 ++++
   sandbox-branches/geometry/index/tests/additional_glut_vis.cpp | 1 -
   2 files changed, 4 insertions(+), 1 deletions(-)

Modified: sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp
==============================================================================
--- sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp (original)
+++ sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp 2011-10-01 06:03:38 EDT (Sat, 01 Oct 2011)
@@ -57,6 +57,8 @@
 // TODO change remove() to erase() or just add erase() ?
 // erase works on iterators of this container so this may be confusing with remove(ValIt, ValIt)
 
+// TODO delete unneeded nodes types (using vectors) and change the name of currently used one to node_default
+
 template <
     typename Value,
     typename Parameters,
@@ -251,6 +253,8 @@
 private:
     inline void create()
     {
+ // TODO: awulkiew - consider moving create_node into the insert visitor
+ // and here setting m_root to 0
         m_root = detail::rtree::create_node(leaf());
         m_values_count = 0;
         m_leafs_level = 0;

Modified: sandbox-branches/geometry/index/tests/additional_glut_vis.cpp
==============================================================================
--- sandbox-branches/geometry/index/tests/additional_glut_vis.cpp (original)
+++ sandbox-branches/geometry/index/tests/additional_glut_vis.cpp 2011-10-01 06:03:38 EDT (Sat, 01 Oct 2011)
@@ -9,7 +9,6 @@
 
 #include <gl/glut.h>
 
-//#define BOOST_GEOMETRY_INDEX_USE_VARIANT_NODES
 #include <boost/geometry/extensions/index/rtree/rtree.hpp>
 
 #include <boost/geometry/extensions/index/rtree/visitors/gl_draw.hpp>


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