mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-12 14:01:47 +00:00
Integrated 'correct' algorithm into support_status.
[SVN r76670]
This commit is contained in:
parent
e97af061f5
commit
ba013bdef2
13
doc/generated/correct_status.qbk
Normal file
13
doc/generated/correct_status.qbk
Normal file
@ -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] ]]
|
||||||
|
]
|
@ -71,6 +71,7 @@ DECLARE_UNARY_ALGORITHM (area)
|
|||||||
DECLARE_UNARY_ALGORITHM (clear)
|
DECLARE_UNARY_ALGORITHM (clear)
|
||||||
DECLARE_BINARY_ALGORITHM(convert)
|
DECLARE_BINARY_ALGORITHM(convert)
|
||||||
DECLARE_UNARY_ALGORITHM (convex_hull)
|
DECLARE_UNARY_ALGORITHM (convex_hull)
|
||||||
|
DECLARE_UNARY_ALGORITHM (correct)
|
||||||
DECLARE_BINARY_ALGORITHM(distance)
|
DECLARE_BINARY_ALGORITHM(distance)
|
||||||
|
|
||||||
|
|
||||||
@ -185,6 +186,7 @@ void support_status()
|
|||||||
test_unary_algorithm<clear, all_types, OutputFactory>("clear");
|
test_unary_algorithm<clear, all_types, OutputFactory>("clear");
|
||||||
test_binary_algorithm<convert, all_types, all_types, OutputFactory>("convert");
|
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>("convex_hull");
|
||||||
|
test_unary_algorithm<convex_hull, all_types, OutputFactory>("correct");
|
||||||
test_binary_algorithm<distance, all_types, all_types, OutputFactory>("distance");
|
test_binary_algorithm<distance, all_types, all_types, OutputFactory>("distance");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,14 +194,8 @@ namespace dispatch
|
|||||||
{
|
{
|
||||||
|
|
||||||
template <typename Geometry, typename Tag = typename tag<Geometry>::type>
|
template <typename Geometry, typename Tag = typename tag<Geometry>::type>
|
||||||
struct correct
|
struct correct: not_implemented<Tag>
|
||||||
{
|
{};
|
||||||
BOOST_MPL_ASSERT_MSG
|
|
||||||
(
|
|
||||||
false, NOT_OR_NOT_YET_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE
|
|
||||||
, (types<Geometry>)
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
template <typename Point>
|
template <typename Point>
|
||||||
struct correct<Point, point_tag>
|
struct correct<Point, point_tag>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user