CxRect2 Class Reference

#include <ximath.h>

List of all members.

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


Constructor & Destructor Documentation

CxRect2::CxRect2 (  ) 

CxRect2::CxRect2 ( float const   x1_,
float const   y1_,
float const   x2_,
float const   y2_ 
)

CxRect2::CxRect2 ( CxPoint2 const &  bl,
CxPoint2 const &  tr 
)

CxRect2::CxRect2 ( CxRect2 const &  p  ) 


Member Function Documentation

float CxRect2::Surface (  )  const

CxRect2 CxRect2::CrossSection ( CxRect2 const &  r2  )  const

CxPoint2 CxRect2::Center (  )  const

float CxRect2::Width (  )  const

float CxRect2::Height (  )  const


Member Data Documentation

CxPoint2 CxRect2::botLeft

CxPoint2 CxRect2::topRight


Generated on Fri Jan 7 21:44:33 2011 for CxImage by  doxygen 1.5.4