]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.Geometry (aka GGL, Generic Geometry Library) |
2 | ||
3 | // Copyright (c) 2013 Barend Gehrels, Amsterdam, the Netherlands. | |
4 | // Copyright (c) 2013 Bruno Lalande, Paris, France. | |
5 | // Copyright (c) 2013 Mateusz Loskot, London, UK. | |
6 | // Copyright (c) 2013 Adam Wulkiewicz, Lodz, Poland. | |
7 | ||
8 | // Use, modification and distribution is subject to the Boost Software License, | |
9 | // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
10 | // http://www.boost.org/LICENSE_1_0.txt) | |
11 | ||
12 | #ifndef BOOST_GEOMETRY_POLICIES_ROBUSTNESS_ROBUST_POINT_TYPE_HPP | |
13 | #define BOOST_GEOMETRY_POLICIES_ROBUSTNESS_ROBUST_POINT_TYPE_HPP | |
14 | ||
15 | namespace boost { namespace geometry | |
16 | { | |
17 | ||
18 | // Meta-function to typedef a robust point type for a policy | |
19 | template <typename Point, typename Policy> | |
20 | struct robust_point_type | |
21 | { | |
22 | // By default, the point itself is the robust type | |
23 | typedef Point type; | |
24 | }; | |
25 | ||
26 | ||
27 | }} // namespace boost::geometry | |
28 | ||
29 | ||
30 | #endif // BOOST_GEOMETRY_POLICIES_ROBUSTNESS_ROBUST_POINT_TYPE_HPP |