jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Rectangle with x, y, width and height integer components. More...
#include <recti.hpp>
Public Types | |
typedef const value_type * | const_iterator |
typedef const value_type * | const_pointer |
typedef const value_type & | const_reference |
typedef value_type * | iterator |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef Value_type | value_type |
Public Member Functions | |
constexpr | RectI () noexcept |
constexpr | RectI (const RectI &o) noexcept=default |
constexpr | RectI (const value_type x, const value_type y, const value_type width, const value_type height) noexcept |
constexpr | RectI (const value_type xywh[]) noexcept |
constexpr | RectI (RectI &&o) noexcept=default |
iterator | get (iterator xywh) const noexcept |
xywh = this, returns xywh. More... | |
constexpr value_type | height () const noexcept |
constexpr bool | is_zero () const noexcept |
Return true if area is zero. More... | |
constexpr RectI & | operator= (const RectI &) noexcept=default |
constexpr RectI & | operator= (RectI &&) noexcept=default |
constexpr bool | operator== (const RectI &rhs) const noexcept |
constexpr RectI & | set (const value_type x, const value_type y, const value_type width, const value_type height) noexcept |
TODO constexpr bool operator<=>(const Recti_t& rhs ) const noexcept { return ... }. More... | |
constexpr RectI & | set (const_iterator xywh) noexcept |
this = xywh, returns this. More... | |
constexpr void | setHeight (const value_type height) noexcept |
constexpr void | setWidth (const value_type width) noexcept |
constexpr void | setX (const value_type x) noexcept |
constexpr void | setY (const value_type y) noexcept |
std::string | toString () const noexcept |
constexpr value_type | width () const noexcept |
constexpr value_type | x () const noexcept |
constexpr value_type | y () const noexcept |
Rectangle with x, y, width and height integer components.
typedef Value_type jau::math::RectI< Value_type, >::value_type |
typedef value_type* jau::math::RectI< Value_type, >::pointer |
typedef const value_type* jau::math::RectI< Value_type, >::const_pointer |
typedef value_type& jau::math::RectI< Value_type, >::reference |
typedef const value_type& jau::math::RectI< Value_type, >::const_reference |
typedef value_type* jau::math::RectI< Value_type, >::iterator |
typedef const value_type* jau::math::RectI< Value_type, >::const_iterator |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |