summaryrefslogtreecommitdiff
path: root/include/mbgl/geometry/interpolate.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/geometry/interpolate.hpp')
-rw-r--r--include/mbgl/geometry/interpolate.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/mbgl/geometry/interpolate.hpp b/include/mbgl/geometry/interpolate.hpp
new file mode 100644
index 0000000000..cebbcc7028
--- /dev/null
+++ b/include/mbgl/geometry/interpolate.hpp
@@ -0,0 +1,13 @@
+#ifndef MBGL_GEOMETRY_INTERPOLATE
+#define MBGL_GEOMETRY_INTERPOLATE
+
+#include <mbgl/geometry/anchor.hpp>
+#include <mbgl/util/math.hpp>
+
+namespace mbgl {
+
+Anchors interpolate(const std::vector<Coordinate> &vertices, float spacing,
+ float minScale = 0.0f, int start = 0);
+}
+
+#endif