Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Geometry::Rectangle::Rectangle ( int  left,
int  top,
int  right,
int  bottom,
bool  check 
) [inline]

Definition at line 38 of file Rectangle.h.

References mBottom, mLeft, mRight, and mTop.

00039     {
00040         mLeft = left;
00041         mTop = top;
00042         mRight = right;
00043         mBottom = bottom;
00044         if (check)
00045         {
00046             if(left > right)
00047             {
00048                 mLeft = right;
00049                 mRight = left;
00050             }
00051             if(top > bottom)
00052             {
00053                 mTop    = bottom;
00054                 mBottom = top;
00055             }
00056         }
00057     }


Generated on Fri Mar 19 11:11:46 2010 for ImpalaSrc by  doxygen 1.5.1