|
| | RectI () noexcept |
| |
| | RectI (const Vector< Int32, 2 > &pos, Int32 w, Int32 h) noexcept |
| |
| | RectI (Int32 x, Int32 y, Int32 w, Int32 h) noexcept |
| |
| | RectI (const RectI &) |
| |
| | RectI (RectI &&) noexcept |
| |
| | ~RectI () noexcept=default |
| |
| RectI & | operator= (const RectI &_other) |
| |
| RectI & | operator= (RectI &&_other) noexcept |
| |
| Vector< Int32, 2 > | position () const noexcept |
| |
| Size2d | extent () const noexcept |
| |
| Int32 | width () const noexcept |
| |
| Int32 & | width () noexcept |
| |
| Int32 | height () const noexcept |
| |
| Int32 & | height () noexcept |
| |
| constexpr | Vector () noexcept=default |
| | Initializes an empty vector.
|
| |
| constexpr | Vector (Vector &&_other) noexcept=default |
| | Initializes a vector by taking over another vector.
|
| |
| constexpr | Vector (const Vector &_other)=default |
| | Initializes a vector with the values provided by another vector.
|
| |
| constexpr | Vector (Int32 val) noexcept |
| | Initializes a vector where all elements take the value provided by val .
|
| |
| constexpr | Vector (Int32 x, Int32 y) noexcept |
| | Initializes a 2D vector using the values provided by x and y .
|
| |
| constexpr | Vector (Int32 x, Int32 y, Int32 z) noexcept |
| | Initializes a 3D vector using the values provided by x , y and z .
|
| |
| constexpr | Vector (Int32 x, Int32 y, Int32 z, Int32 w) noexcept |
| | Initializes a 4D vector using the values provided by x , y , z and w .
|
| |
| constexpr | Vector (std::ranges::input_range auto &&input) noexcept |
| | Initializes the vector from an arbitrary input range.
|
| |
| constexpr Vector & | operator= (Vector &&_other) noexcept=default |
| | Moves the elements of the other vector to the current vector.
|
| |
| constexpr Vector & | operator= (const Vector &_other)=default |
| | Copys the elements of another vector into the current vector.
|
| |
| constexpr auto & | operator= (std::ranges::input_range auto &&input) noexcept |
| | Copies the values from an arbitrary input range into the current vector instance.
|
| |
| constexpr | ~Vector () noexcept=default |
| | Destroys the vector.
|
| |
| constexpr Int32 | operator[] (unsigned int i) const noexcept |
| | Returns a value from the vector, indexed by the parameter i .
|
| |
| constexpr Int32 & | operator[] (unsigned int i) noexcept |
| | Returns a reference to 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< Int32, DIM > () const noexcept |
| | Converts the vector to an instance of std::array.
|
| |
| constexpr | operator std::vector< Int32 > () 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 & | x () noexcept |
| | Returns a reference of 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 & | y () noexcept |
| | Returns a reference of 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 & | z () noexcept |
| | Returns a reference of 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.
|
| |
| constexpr scalar_type & | w () noexcept |
| | Returns a reference of the value of the w component of the vector.
|
| |