diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-13 13:44:20 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-16 09:00:54 -0700 |
commit | 1f375581c3a31adea9281a7494a73e5c8f1c9a17 (patch) | |
tree | f84a292e2600a3b7141450fb6f3020f453d9095a /src/mbgl/layout/clip_lines.hpp | |
parent | 9ef65440b6bfd2c8da17d2613f8c967682cc0ef9 (diff) | |
download | qtlocation-mapboxgl-1f375581c3a31adea9281a7494a73e5c8f1c9a17.tar.gz |
[core] Move {clip,merge}_lines to layout directory
Diffstat (limited to 'src/mbgl/layout/clip_lines.hpp')
-rw-r--r-- | src/mbgl/layout/clip_lines.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mbgl/layout/clip_lines.hpp b/src/mbgl/layout/clip_lines.hpp new file mode 100644 index 0000000000..c1cfd4bbb9 --- /dev/null +++ b/src/mbgl/layout/clip_lines.hpp @@ -0,0 +1,16 @@ +#pragma once + +#include <map> +#include <string> +#include <vector> +#include <mbgl/tile/geometry_tile_data.hpp> + +namespace mbgl { +namespace util { + + +GeometryCollection clipLines(const GeometryCollection &lines, + const int16_t x1, const int16_t y1, const int16_t x2, const int16_t y2); + +} // end namespace util +} // end namespace mbgl |