summaryrefslogtreecommitdiffstats
path: root/include/mapbox/geometry/polygon.hpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-06 16:31:25 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-06 16:31:25 +0900
commit9ee98a06160ee2b234e92db70eb18e128fc76e5d (patch)
treed144be711339162d8fb8662ac868cc3677318072 /include/mapbox/geometry/polygon.hpp
parent61a91b68c0c895714ea8d612fc752ad4b5cf56ef (diff)
Diffstat (limited to 'include/mapbox/geometry/polygon.hpp')
-rw-r--r--include/mapbox/geometry/polygon.hpp31
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