42#ifndef UFO_MAP_UTILITY_HPP
43#define UFO_MAP_UTILITY_HPP
46#include <ufo/utility/enum.hpp>
53enum class MapUtility : std::uint64_t {
54 NONE = std::uint64_t(0),
55 WITH_CENTER = std::uint64_t(1) << 0,
61[[nodiscard]]
constexpr MapUtility operator|(MapUtility
a, MapUtility
b)
noexcept
63 return MapUtility(to_underlying(
a) | to_underlying(
b));
66[[nodiscard]]
constexpr MapUtility operator&(MapUtility
a, MapUtility
b)
noexcept
68 return MapUtility(to_underlying(
a) & to_underlying(
b));
All vision-related classes and functions.
constexpr T b(Lab< T, Flags > color) noexcept
Returns the un-weighted blue–yellow axis value.
constexpr T a(Lab< T, Flags > color) noexcept
Returns the un-weighted green–red axis value.