7#include "translate2.hpp"
9#include "../macros.hpp"
12namespace hi {
inline namespace v1 {
15[[
nodiscard]]
constexpr point3 operator*(translate3
const& lhs, point3
const& rhs)
noexcept;
21 using value_type = array_type::value_type;
30 [[
nodiscard]]
constexpr explicit operator array_type()
const noexcept
37 hi_axiom(holds_invariant());
68 : _v(
static_cast<array_type
>(
other))
73 : _v(
static_cast<array_type
>(
other).
xyz0())
82 [[
nodiscard]]
constexpr float x()
const noexcept
87 [[
nodiscard]]
constexpr float y()
const noexcept
92 [[
nodiscard]]
constexpr float z()
const noexcept
97 [[
nodiscard]]
constexpr float& x()
noexcept
102 [[
nodiscard]]
constexpr float& y()
noexcept
107 [[
nodiscard]]
constexpr float& z()
noexcept
156 return equal(lhs._v, rhs._v);
166 return _v.w() == 0.0f;
169 [[
nodiscard]]
friend constexpr translate3 round(translate3
const& rhs)
noexcept
171 return translate3{round(rhs._v)};
178[[
nodiscard]]
constexpr translate3 translate_z(
float z)
noexcept
180 return translate3{0.0f, 0.0f, z};
@ middle
Align to the vertical-middle.
@ bottom
Align to the bottom.
@ right
Align the text to the right side.
@ left
Align the text to the left side.
@ center
Align the text in the center.
@ other
The gui_event does not have associated data.
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
Class which represents an axis-aligned rectangle.
Definition aarectangle.hpp:29
Horizontal/Vertical alignment combination.
Definition alignment.hpp:242
Definition translate2.hpp:14
Definition translate3.hpp:18
static constexpr translate3 align(aarectangle src_rectangle, aarectangle dst_rectangle, alignment alignment) noexcept
Align a rectangle within another rectangle.
Definition translate3.hpp:118
A high-level geometric vector Part of the high-level vector, point, mat and color types.
Definition vector3.hpp:20