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

void Impala::Core::Tracking::Rect::clip ( const Rect clip  )  [inline]

Definition at line 130 of file BasicTypes.h.

References bottom, left, right, and top.

00131     {
00132         if(left<clip.left)
00133         {
00134             left=clip.left;
00135             if(right<left)
00136                 right=left;
00137         }
00138         if(top<clip.top)
00139         {
00140             top=clip.top;
00141             if(bottom<top)
00142                 bottom=top;
00143         }
00144         if(right>clip.right)
00145         {
00146             right=clip.right;
00147             if(left>right)
00148                 left=right;
00149         }
00150         if(bottom>clip.bottom)
00151         {
00152             bottom=clip.bottom;
00153             if(top>bottom)
00154                 top=bottom;
00155         }
00156     }


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