|
| | Rect () noexcept |
| | Rect (const Vector< size_t, 2 > &pos, size_t w, size_t h) noexcept |
| | Rect (size_t x, size_t y, size_t w, size_t h) noexcept |
| | Rect (const Rect &) |
| | Rect (Rect &&) noexcept |
| | ~Rect () noexcept=default |
| Rect & | operator= (const Rect &_other) |
| Rect & | operator= (Rect &&_other) noexcept |
| Vector< size_t, 2 > | position () const noexcept |
| Size2d | extent () const noexcept |
| size_t | width () const noexcept |
| size_t & | width () noexcept |
| size_t | height () const noexcept |
| size_t & | height () noexcept |
| constexpr | Vector () noexcept=default |
| | Initializes an empty vector.
|
| constexpr Vector & | operator= (Vector &&_other) noexcept=default |
| | Moves the elements of the other vector to the current vector.
|
| constexpr | ~Vector () noexcept=default |
| | Destroys the vector.
|
| constexpr size_t | operator[] (unsigned int i) const noexcept |
| | Returns a value from the vector, indexed by the parameter i .
|
| constexpr auto | begin () noexcept |
| | Returns an interator for that addresses the begin of the vector elements.
|
| constexpr auto | end () noexcept |
| | Returns an interator for that addresses the end of the vector elements.
|
| constexpr auto | cbegin () const noexcept |
| | Returns a constant interator for that addresses the begin of the vector elements.
|
| constexpr auto | cend () const noexcept |
| | Returns a constant interator for that addresses the end of the vector elements.
|
| constexpr const scalar_type * | elements () const noexcept |
| | Returns a pointer to the elements of the vector.
|
| constexpr | operator std::array< size_t, DIM > () const noexcept |
| | Converts the vector to an instance of std::array.
|
| constexpr | operator std::vector< size_t > () const |
| | Converts the vector into an instance of type std::vector.
|
| constexpr int | size () const noexcept |
| | Returns the number of dimensions of the vector.
|
| constexpr scalar_type | x () const noexcept |
| | Returns the value of the x component of the vector.
|
| constexpr scalar_type | y () const noexcept |
| | Returns the value of the y component of the vector.
|
| constexpr scalar_type | z () const noexcept |
| | Returns the value of the z component of the vector.
|
| constexpr scalar_type | w () const noexcept |
| | Returns the value of the w component of the vector.
|