]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.Geometry (aka GGL, Generic Geometry Library) |
2 | ||
3 | // Copyright (c) 2014, Oracle and/or its affiliates. | |
4 | ||
5 | // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle | |
6 | ||
7 | // Licensed under the Boost Software License version 1.0. | |
8 | // http://www.boost.org/users/license.html | |
9 | ||
10 | #ifndef BOOST_GEOMETRY_ALGORITHMS_DISPATCH_IS_VALID_HPP | |
11 | #define BOOST_GEOMETRY_ALGORITHMS_DISPATCH_IS_VALID_HPP | |
12 | ||
13 | #include <boost/geometry/core/tag.hpp> | |
14 | ||
15 | #include <boost/geometry/algorithms/not_implemented.hpp> | |
16 | ||
17 | ||
18 | namespace boost { namespace geometry | |
19 | { | |
20 | ||
21 | #ifndef DOXYGEN_NO_DISPATCH | |
22 | namespace dispatch | |
23 | { | |
24 | ||
25 | ||
26 | template | |
27 | < | |
28 | typename Geometry, | |
29 | typename Tag = typename tag<Geometry>::type, | |
30 | // for multi-geometries: determines if empty multi-geometries are allowed | |
31 | bool AllowEmptyMultiGeometries = true | |
32 | > | |
33 | struct is_valid | |
34 | : not_implemented<Geometry> | |
35 | {}; | |
36 | ||
37 | ||
38 | } // namespace dispatch | |
39 | #endif // DOXYGEN_NO_DISPATCH | |
40 | ||
41 | ||
42 | }} // namespace boost::geometry | |
43 | ||
44 | #endif // BOOST_GEOMETRY_ALGORITHMS_DISPATCH_IS_VALID_HPP |