mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
22 lines
439 B
C++
22 lines
439 B
C++
|
#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
|