aboutsummaryrefslogtreecommitdiffstats
path: root/include/mapbox/geometry/line_string.hpp
blob: 6d811ce2210fd60ed209f6d829b01f636b67039c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 line_string : Cont<point<T> >
{
    using coordinate_type = T;
    using point_type = point<T>;
    using container_type = Cont<point_type>;
    using container_type::container_type;
};

} // namespace geometry
} // namespace mapbox