|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76670 - in trunk: boost/geometry/algorithms libs/geometry/doc/generated libs/geometry/doc/src/docutils/tools/support_status
From: bruno.lalande_at_[hidden]
Date: 2012-01-24 16:02:03
Author: bruno.lalande
Date: 2012-01-24 16:02:01 EST (Tue, 24 Jan 2012)
New Revision: 76670
URL: http://svn.boost.org/trac/boost/changeset/76670
Log:
Integrated 'correct' algorithm into support_status.
Added:
trunk/libs/geometry/doc/generated/correct_status.qbk (contents, props changed)
Text files modified:
trunk/boost/geometry/algorithms/correct.hpp | 10 ++--------
trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp | 2 ++
2 files changed, 4 insertions(+), 8 deletions(-)
Modified: trunk/boost/geometry/algorithms/correct.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/correct.hpp (original)
+++ trunk/boost/geometry/algorithms/correct.hpp 2012-01-24 16:02:01 EST (Tue, 24 Jan 2012)
@@ -194,14 +194,8 @@
{
template <typename Geometry, typename Tag = typename tag<Geometry>::type>
-struct correct
-{
- BOOST_MPL_ASSERT_MSG
- (
- false, NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE
- , (types<Geometry>)
- );
-};
+struct correct: not_implemented<Tag>
+{};
template <typename Point>
struct correct<Point, point_tag>
Added: trunk/libs/geometry/doc/generated/correct_status.qbk
==============================================================================
--- (empty file)
+++ trunk/libs/geometry/doc/generated/correct_status.qbk 2012-01-24 16:02:01 EST (Tue, 24 Jan 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-01-24 16:02:01 EST (Tue, 24 Jan 2012)
@@ -71,6 +71,7 @@
DECLARE_UNARY_ALGORITHM (clear)
DECLARE_BINARY_ALGORITHM(convert)
DECLARE_UNARY_ALGORITHM (convex_hull)
+DECLARE_UNARY_ALGORITHM (correct)
DECLARE_BINARY_ALGORITHM(distance)
@@ -185,6 +186,7 @@
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");
+ test_unary_algorithm<convex_hull, all_types, OutputFactory>("correct");
test_binary_algorithm<distance, all_types, all_types, OutputFactory>("distance");
}
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