summaryrefslogtreecommitdiff
path: root/src/mbgl/text/check_max_angle.hpp
blob: 1354abe95e2a84badeb5d05a9e4e6a8d9de23c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MBGL_TEXT_CHECK_MAX_ANGLE
#define MBGL_TEXT_CHECK_MAX_ANGLE

#include <mbgl/geometry/anchor.hpp>
#include <mbgl/util/math.hpp>

namespace mbgl {

bool checkMaxAngle(const std::vector<Coordinate> &line, Anchor &anchor, const float labelLength,
        const float windowSize, const float maxAngle);

} // namespace mbgl

#endif