|
| CU_API | Position (int32_t x=0, int32_t y=0) |
| | Constructor.
|
| |
| CU_API | Position (Position const &obj) |
| | Copy Constructor.
|
| |
| CU_API | Position (Position &&obj) noexcept |
| | Move assignment Constructor.
|
| |
| CU_API | ~Position () noexcept=default |
| | Destructor.
|
| |
| CU_API Position & | operator= (Position const &obj) |
| | Copy assignment operator.
|
| |
| CU_API Position & | operator= (Position &&obj) noexcept |
| | Move assignment operator.
|
| |
| CU_API void | set (int32_t x, int32_t y) |
| | sets the position values
|
| |
| CU_API void | offset (int32_t x, int32_t y) |
| | Offsets the position values.
|
| |
| int32_t | y () const |
| | Retrieves the left coordinate.
|
| |
| int32_t & | y () |
| | Retrieves the left coordinate.
|
| |
| int32_t | x () const |
| | Retrieves the right coordinate.
|
| |
| int32_t & | x () |
| | Retrieves the right coordinate.
|
| |
| void | swap (Coords &rhs) noexcept |
| | Swaps this pont data with the parameter ones.
|
| |
| uint32_t | size () const |
| |
| int32_t const & | operator[] (uint32_t index) const |
| | Retrieves the data at given index.
|
| |
| int32_t & | operator[] (uint32_t index) |
| | Retrieves the data at given index.
|
| |
| int32_t * | ptr () |
| | Retrieves a non constant pointer on datas.
|
| |
| int32_t const * | constPtr () const |
| | Retrieves a constant pointer on datas.
|
| |
| iterator | begin () |
| | Retrieves an iterator to the first element.
|
| |
| const_iterator | begin () const |
| | Retrieves a constant iterator to the first element.
|
| |
| iterator | end () |
| | Retrieves an iterator to the last element.
|
| |
| const_iterator | end () const |
| | Retrieves a constant iterator to the last element.
|
| |
| | Coords ()=default |
| |
| | Coords (Point< int32_t, Count > &rhs) |
| |
| | Coords (int32_t *rhs) |
| |
| Coords & | operator= (int32_t *rhs) |
| |
| Coords & | operator= (Point< int32_t, Count > const &rhs) |
| |
| Coords & | operator+= (Coords< U, UCount > const &rhs) |
| |
| Coords & | operator+= (Point< U, UCount > const &rhs) |
| |
| Coords & | operator+= (U const *coords) |
| |
| Coords & | operator+= (int32_t const &coord) |
| |
| Coords & | operator-= (Coords< U, UCount > const &rhs) |
| |
| Coords & | operator-= (Point< U, UCount > const &rhs) |
| |
| Coords & | operator-= (U const *coords) |
| |
| Coords & | operator-= (int32_t const &coord) |
| |
| Coords & | operator*= (Coords< U, UCount > const &rhs) |
| |
| Coords & | operator*= (Point< U, UCount > const &rhs) |
| |
| Coords & | operator*= (U const *coords) |
| |
| Coords & | operator*= (int32_t const &coord) |
| |
| Coords & | operator/= (Coords< U, UCount > const &rhs) |
| |
| Coords & | operator/= (Point< U, UCount > const &rhs) |
| |
| Coords & | operator/= (U const *coords) |
| |
| Coords & | operator/= (int32_t const &coord) |
| |