diff options
Diffstat (limited to 'include/mapbox/geometry/polygon.hpp')
-rw-r--r-- | include/mapbox/geometry/polygon.hpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/mapbox/geometry/polygon.hpp b/include/mapbox/geometry/polygon.hpp deleted file mode 100644 index 99a66aa..0000000 --- a/include/mapbox/geometry/polygon.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -// mapbox -#include <mapbox/geometry/point.hpp> - -// stl -#include <vector> - -namespace mapbox { -namespace geometry { - -template <typename T, template <typename...> class Cont = std::vector> -struct linear_ring : Cont<point<T>> -{ - using coordinate_type = T; - using point_type = point<T>; - using container_type = Cont<point_type>; - using container_type::container_type; -}; - -template <typename T, template <typename...> class Cont = std::vector> -struct polygon : Cont<linear_ring<T>> -{ - using coordinate_type = T; - using linear_ring_type = linear_ring<T>; - using container_type = Cont<linear_ring_type>; - using container_type::container_type; -}; - -} // namespace geometry -} // namespace mapbox |