class csBox A bounding box in 2D space
A bounding box in 2D space. In order to operate correctly, this bounding box assumes that all values entered or compared against lie within the range (-CS_BOUNDINGBOX_MAXVALUE, CS_BOUNDINGBOX_MAXVALUE). It is not recommended to use points outside of this range.
float miny
float maxx
float maxy
float MinX()
float MinY()
float MaxX()
float MaxY()
bool In(float x, float y)
bool Overlap(const csBox& box)
bool Empty()
void StartBoundingBox()
void StartBoundingBox(csVector2& v)
void AddBoundingVertex(float x, float y)
void AddBoundingVertexSmart(float x, float y)
void AddBoundingVertex(const csVector2& v)
void AddBoundingVertexSmart(const csVector2& v)
csBox()
csBox(const csVector2& v)
csBox(float x1, float y1, float x2, float y2)
void Set(float x1, float y1, float x2, float y2)
csBox& operator+= (const csBox& box)
csBox& operator+= (const csVector2& point)
csBox& operator*= (const csBox& box)
friend csBox operator+ (const csBox& box1, const csBox& box2)
friend csBox operator+ (const csBox& box, const csVector2& point)
friend csBox operator* (const csBox& box1, const csBox& box2)
friend bool operator== (const csBox& box1, const csBox& box2)
friend bool operator!= (const csBox& box1, const csBox& box2)
friend bool operator< (const csBox& box1, const csBox& box2)
friend bool operator> (const csBox& box1, const csBox& box2)
friend bool operator< (const csVector2& point, const csBox& box)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de