HRectangle

Functions

HRectangle

HRectangle

~HRectangle

float

GetLeft

float

GetRight

float

GetTop

float

GetBottom

float

GetZ

void

SetCoordinates

bool

IsRectInside

bool

IsRectAbove

bool

IsRectBelow

bool

IsRectRight

bool

IsRectLeft

bool

RectOverlap

Detailed Description

class HRectangle

Subclassed by HQuadTreeItem, HQuadTreeNode

Public Functions

inline HRectangle(float Left = -1.0f, float Bottom = -1.0f, float Right = 1.0f, float Top = 1.0f, float Z = 0.0f)
inline HRectangle(HRectangle *rect)
inline virtual ~HRectangle()
inline float GetLeft()
inline float GetRight()
inline float GetTop()
inline float GetBottom()
inline float GetZ()
inline void SetCoordinates(float Left, float Bottom, float Right, float Top, float Z = 0.0f)
inline bool IsRectInside(HRectangle *rect, HRectangle *area)
inline bool IsRectAbove(HRectangle *rect, float y)
inline bool IsRectBelow(HRectangle *rect, float y)
inline bool IsRectRight(HRectangle *rect, float x)
inline bool IsRectLeft(HRectangle *rect, float x)
inline bool RectOverlap(HRectangle *rect1, HRectangle *rect2)