diff options
Diffstat (limited to 'src/mbgl/geometry/resample.hpp')
-rw-r--r-- | src/mbgl/geometry/resample.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mbgl/geometry/resample.hpp b/src/mbgl/geometry/resample.hpp new file mode 100644 index 0000000000..bcfe4ca53d --- /dev/null +++ b/src/mbgl/geometry/resample.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 resample(const std::vector<Coordinate> &vertices, float spacing, + float minScale, float maxScale, float tilePixelRatio, int start = 0); +} + +#endif |