![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRegion3.h>
Public Member Functions | |
cRegion3f () noexcept | |
~cRegion3f () noexcept | |
UNITTEST_FRIEND (cRegion3) | |
![]() | |
cRegion (const cRectI &rect) | |
cRegion () | |
virtual | ~cRegion () |
virtual bool | isValidCheck () const noexcept |
< memory allocation and structure definitions are valid. More... | |
bool | isRegionEmpty () const |
void | EmptyRegion () |
void | AddRegion (const cRegion *pRegionTest) |
bool | SubtractRegion (const cRegion *pRegionTest) |
void | SetRegionSubtract (const cRectI &rect1, const cRectI &rect2) |
const cRectI & | get_RectUnion () const |
void | put_RectUnion (const cRectI &rect) |
ITERATE_t | get_RegionRectCount () const |
const cRectI & | GetRegionRect (ITERATE_t i) const |
cRectI & | RefRegionRect (ITERATE_t i) |
virtual bool | AddRegionRect (const cRectI &rect) |
virtual void | RemoveRegionRect (ITERATE_t i) |
bool | SubtractRegionRect (const cRectI &rect) |
void | OptimizeRegionRects () |
cPoint2i | GetRegionCorner (DIR_TYPE eDir=DIR_QTY) const |
bool | PtInRegion (int x, int y) const |
bool | PtInRegion (const cPoint2i &pt) const |
bool | IsOverlapped (const cRectI &rect) const |
bool | IsInsideMe (const cRectI &rect) const |
bool | IsInsideMe (const cRegion *pRegionIsSmaller) const |
bool | IsOverlapped (const cRegion *pRegionTest) const |
bool | IsEqualRegion (const cRegion *pRegionTest) const |
HRESULT | v_SetRegion (const cVariant &vVal) |
void | v_GetRegion (cVariant &vVal) const |
UNITTEST_FRIEND (cRegion) | |
![]() | |
virtual | ~CObject () |
virtual void | AssertValid () const |
< memory allocation and structure definitions are valid. More... | |
virtual void | Serialize (cArchive &a) |
Public Attributes | |
cValueRange< float > | m_z |
z bottom/top of the region. More... | |
Additional Inherited Members | |
![]() | |
cRectI | m_rectUnion |
The union rectangle. (may have holes in it of course) More... | |
This is a 2d region (union of rectangles) but with a top and bottom in z coords to make it 3d.
|
noexcept |
|
noexcept |
GrayLib::cRegion3f::UNITTEST_FRIEND | ( | cRegion3 | ) |
cValueRange<float> GrayLib::cRegion3f::m_z |
z bottom/top of the region.