|
using | array_type = simd<float, 4> |
|
using | value_type = array_type::value_type |
|
|
constexpr | translate3 (translate3 const &) noexcept=default |
|
constexpr | translate3 (translate3 &&) noexcept=default |
|
constexpr translate3 & | operator= (translate3 const &) noexcept=default |
|
constexpr translate3 & | operator= (translate3 &&) noexcept=default |
|
constexpr | operator array_type () const noexcept |
|
constexpr | translate3 (array_type const &other) noexcept |
|
constexpr | translate3 (aarectangle const &other) noexcept |
|
constexpr | translate3 (aarectangle const &other, float z) noexcept |
|
constexpr | translate3 (translate2 const &other) noexcept |
|
constexpr | translate3 (translate2 const &other, float z) noexcept |
|
constexpr | operator translate2 () const noexcept |
|
constexpr | translate3 (vector3 const &other) noexcept |
|
constexpr | translate3 (point3 const &other) noexcept |
|
constexpr | translate3 (float x, float y, float z=0.0f) noexcept |
|
constexpr float | x () const noexcept |
|
constexpr float | y () const noexcept |
|
constexpr float | z () const noexcept |
|
constexpr float & | x () noexcept |
|
constexpr float & | y () noexcept |
|
constexpr float & | z () noexcept |
|
constexpr translate3 | operator~ () const noexcept |
|
constexpr bool | holds_invariant () const noexcept |
|
◆ align()
|
inlinestaticconstexprnoexcept |
Align a rectangle within another rectangle.
- Parameters
-
src_rectangle | The rectangle to translate into the dst_rectangle |
dst_rectangle | The destination rectangle. |
alignment | How the source rectangle should be aligned inside the destination rectangle. |
- Returns
- Translation to move the src_rectangle into the dst_rectangle.
The documentation for this class was generated from the following file: