MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
get_covering_stops.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include <mbgl/util/range.hpp>
5 #include <memory>
6 #include <map>
7 
8 namespace mbgl {
9 namespace style {
10 namespace expression {
11 
13 Range<float> getCoveringStops(const std::map<double, std::unique_ptr<Expression>>& stops, double lower, double upper);
14 
15 } // namespace expression
16 } // namespace style
17 } // namespace mbgl
Range< float > getCoveringStops(const std::map< double, std::unique_ptr< Expression >> &stops, double lower, double upper)
Return the smallest range of stops that covers the interval [lower, upper].
Definition: actor.hpp:15