11#include "../SIMD/module.hpp"
12#include "../utility/utility.hpp"
13#include "../macros.hpp"
18namespace hi {
inline namespace v1 {
26 using value_type = array_type::value_type;
36 _v(left, bottom, right, top)
41 [[
nodiscard]]
constexpr explicit operator array_type()
const noexcept
46 [[
nodiscard]]
constexpr float left()
const noexcept
51 [[
nodiscard]]
constexpr float& left()
noexcept
56 [[
nodiscard]]
constexpr float bottom()
const noexcept
61 [[
nodiscard]]
constexpr float& bottom()
noexcept
66 [[
nodiscard]]
constexpr float right()
const noexcept
71 [[
nodiscard]]
constexpr float& right()
noexcept
76 [[
nodiscard]]
constexpr float top()
const noexcept
81 [[
nodiscard]]
constexpr float& top()
noexcept
105 return margins{max(lhs._v, rhs._v)};
110 return equal(lhs._v, rhs._v);
DOXYGEN BUG.
Definition algorithm.hpp:16
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377
The left, bottom, right and top margins.
Definition margins.hpp:23