summaryrefslogtreecommitdiff
path: root/src/mbgl/text/check_max_angle.hpp
blob: c95661160cf2ea1b7cdc0672d38a8f068f1c7ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <mbgl/tile/geometry_tile_data.hpp>

namespace mbgl {

class Anchor;

bool checkMaxAngle(const GeometryCoordinates& line,
                   const Anchor& anchor,
                   const float labelLength,
                   const float windowSize,
                   const float maxAngle);

} // namespace mbgl