#include <ximath.h>
Public Member Functions | |
CxRect2 () | |
CxRect2 (float const x1_, float const y1_, float const x2_, float const y2_) | |
CxRect2 (CxPoint2 const &bl, CxPoint2 const &tr) | |
CxRect2 (CxRect2 const &p) | |
float | Surface () const |
CxRect2 | CrossSection (CxRect2 const &r2) const |
CxPoint2 | Center () const |
float | Width () const |
float | Height () const |
Public Attributes | |
CxPoint2 | botLeft |
CxPoint2 | topRight |
CxRect2::CxRect2 | ( | ) |
CxRect2::CxRect2 | ( | float const | x1_, | |
float const | y1_, | |||
float const | x2_, | |||
float const | y2_ | |||
) |
CxRect2::CxRect2 | ( | CxRect2 const & | p | ) |
float CxRect2::Surface | ( | ) | const |
CxPoint2 CxRect2::Center | ( | ) | const |
float CxRect2::Width | ( | ) | const |
float CxRect2::Height | ( | ) | const |