Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80971 - in trunk/libs/geometry/doc: generated src/docutils/tools/support_status
From: bruno.lalande_at_[hidden]
Date: 2012-10-12 17:43:42


Author: bruno.lalande
Date: 2012-10-12 17:43:41 EDT (Fri, 12 Oct 2012)
New Revision: 80971
URL: http://svn.boost.org/trac/boost/changeset/80971

Log:
Integrated num_geometries into support_status.
Added:
   trunk/libs/geometry/doc/generated/num_geometries_status.qbk (contents, props changed)
Text files modified:
   trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Added: trunk/libs/geometry/doc/generated/num_geometries_status.qbk
==============================================================================
--- (empty file)
+++ trunk/libs/geometry/doc/generated/num_geometries_status.qbk 2012-10-12 17:43:41 EDT (Fri, 12 Oct 2012)
@@ -0,0 +1,13 @@
+[heading Supported geometries]
+[table
+[[Geometry][Status]]
+[[Point][ [$img/ok.png] ]]
+[[Segment][ [$img/ok.png] ]]
+[[Box][ [$img/ok.png] ]]
+[[Linestring][ [$img/ok.png] ]]
+[[Ring][ [$img/ok.png] ]]
+[[Polygon][ [$img/ok.png] ]]
+[[MultiPoint][ [$img/ok.png] ]]
+[[MultiLinestring][ [$img/ok.png] ]]
+[[MultiPolygon][ [$img/ok.png] ]]
+]

Modified: trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp (original)
+++ trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp 2012-10-12 17:43:41 EDT (Fri, 12 Oct 2012)
@@ -36,6 +36,7 @@
 #include <boost/geometry/algorithms/expand.hpp>
 #include <boost/geometry/algorithms/for_each.hpp>
 #include <boost/geometry/algorithms/length.hpp>
+#include <boost/geometry/algorithms/num_geometries.hpp>
 #include <boost/geometry/algorithms/overlaps.hpp>
 #include <boost/geometry/algorithms/perimeter.hpp>
 #include <boost/geometry/algorithms/simplify.hpp>
@@ -53,6 +54,7 @@
 #include <boost/geometry/multi/algorithms/equals.hpp>
 #include <boost/geometry/multi/algorithms/for_each.hpp>
 #include <boost/geometry/multi/algorithms/length.hpp>
+#include <boost/geometry/multi/algorithms/num_geometries.hpp>
 #include <boost/geometry/multi/algorithms/perimeter.hpp>
 #include <boost/geometry/multi/algorithms/simplify.hpp>
 #include <boost/geometry/multi/algorithms/transform.hpp>
@@ -114,6 +116,7 @@
 DECLARE_UNARY_ALGORITHM(for_each_point)
 DECLARE_UNARY_ALGORITHM(for_each_segment)
 DECLARE_UNARY_ALGORITHM(length)
+DECLARE_UNARY_ALGORITHM(num_geometries)
 DECLARE_BINARY_ALGORITHM(overlaps)
 DECLARE_UNARY_ALGORITHM(perimeter)
 DECLARE_UNARY_ALGORITHM(simplify)
@@ -245,6 +248,7 @@
     test_unary_algorithm<for_each_point, all_types, OutputFactory>("for_each_point");
     test_unary_algorithm<for_each_segment, all_types, OutputFactory>("for_each_segment");
     test_unary_algorithm<length, all_types, OutputFactory>("length");
+ test_unary_algorithm<num_geometries, all_types, OutputFactory>("num_geometries");
     test_binary_algorithm<overlaps, all_types, all_types, OutputFactory>("overlaps");
     test_unary_algorithm<perimeter, all_types, OutputFactory>("perimeter");
     test_unary_algorithm<simplify, all_types, OutputFactory>("simplify");


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