|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80683 - in trunk/libs/geometry/doc: generated src/docutils/tools/support_status
From: bruno.lalande_at_[hidden]
Date: 2012-09-23 17:40:13
Author: bruno.lalande
Date: 2012-09-23 17:40:12 EDT (Sun, 23 Sep 2012)
New Revision: 80683
URL: http://svn.boost.org/trac/boost/changeset/80683
Log:
Integrated centroid into support_status.
Added:
trunk/libs/geometry/doc/generated/centroid_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/centroid_status.qbk
==============================================================================
--- (empty file)
+++ trunk/libs/geometry/doc/generated/centroid_status.qbk 2012-09-23 17:40:12 EDT (Sun, 23 Sep 2012)
@@ -0,0 +1,13 @@
+[heading Supported geometries]
+[table
+[[Geometry][Status]]
+[[Point][ [$img/ok.png] ]]
+[[Segment][ [$img/nyi.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-09-23 17:40:12 EDT (Sun, 23 Sep 2012)
@@ -23,6 +23,7 @@
#include <boost/geometry/algorithms/append.hpp>
#include <boost/geometry/algorithms/area.hpp>
#include <boost/geometry/algorithms/buffer.hpp>
+#include <boost/geometry/algorithms/centroid.hpp>
#include <boost/geometry/algorithms/clear.hpp>
#include <boost/geometry/algorithms/convert.hpp>
#include <boost/geometry/algorithms/convex_hull.hpp>
@@ -41,6 +42,7 @@
#include <boost/geometry/algorithms/unique.hpp>
#include <boost/geometry/multi/algorithms/append.hpp>
#include <boost/geometry/multi/algorithms/area.hpp>
+#include <boost/geometry/multi/algorithms/centroid.hpp>
#include <boost/geometry/multi/algorithms/clear.hpp>
#include <boost/geometry/multi/algorithms/convert.hpp>
#include <boost/geometry/multi/algorithms/correct.hpp>
@@ -96,6 +98,7 @@
DECLARE_BINARY_ALGORITHM(append)
DECLARE_UNARY_ALGORITHM(area)
DECLARE_BINARY_ALGORITHM(buffer)
+DECLARE_UNARY_ALGORITHM(centroid)
DECLARE_UNARY_ALGORITHM(clear)
DECLARE_BINARY_ALGORITHM(convert)
DECLARE_UNARY_ALGORITHM(convex_hull)
@@ -224,6 +227,7 @@
test_binary_algorithm<append, all_types, boost::mpl::vector<point_type, std::vector<point_type> >, OutputFactory>("append");
test_unary_algorithm<area, all_types, OutputFactory>("area");
test_binary_algorithm<buffer, all_types, all_types, OutputFactory>("buffer");
+ test_unary_algorithm<centroid, all_types, OutputFactory>("centroid");
test_unary_algorithm<clear, all_types, OutputFactory>("clear");
test_binary_algorithm<convert, all_types, all_types, OutputFactory>("convert");
test_unary_algorithm<convex_hull, all_types, OutputFactory>("convex_hull");
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