|
stmm-games-doc
0.32.0
|
Public Member Functions | |
| bool | containsPoint (NPoint oP) const noexcept |
| NSize | getSize () const noexcept |
Static Public Member Functions | |
| static bool | doIntersect (NRect oR1, NRect oR2) noexcept |
| Whether two rectangles intersect. More... | |
| static NRect | intersectionRect (NRect oR1, NRect oR2) noexcept |
| The maximal rectangle contained by two rectangles. More... | |
| static NRect | boundingRect (NRect oR1, NRect oR2) noexcept |
| The minimal rectangle containing two rectangles. More... | |
Public Attributes | |
| int32_t | m_nX = 0 |
| Default is 0. More... | |
| int32_t | m_nY = 0 |
| Default is 0. More... | |
| int32_t | m_nW = 0 |
| Default is 0. More... | |
| int32_t | m_nH = 0 |
| Default is 0. More... | |
The minimal rectangle containing two rectangles.
| oR1 | Must have positive size. |
| oR2 | Must have positive size. |
|
inlinenoexcept |
Whether two rectangles intersect.
| oR1 | Must have positive size. |
| oR2 | Must have positive size. |
|
inlinenoexcept |
The maximal rectangle contained by two rectangles.
| oR1 | Must have positive size. |
| oR2 | Must have positive size. |
| int32_t stmg::NRect::m_nH = 0 |
Default is 0.
| int32_t stmg::NRect::m_nW = 0 |
Default is 0.
| int32_t stmg::NRect::m_nX = 0 |
Default is 0.
| int32_t stmg::NRect::m_nY = 0 |
Default is 0.
1.8.13