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

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

Definition at line 138 of file BasicTypes.h.

References bottom, left, right, and top.

00139     {
00140         if(left<clip.left)
00141         {
00142             left=clip.left;
00143             if(right<left)
00144                 right=left;
00145         }
00146         if(top<clip.top)
00147         {
00148             top=clip.top;
00149             if(bottom<top)
00150                 bottom=top;
00151         }
00152         if(right>clip.right)
00153         {
00154             right=clip.right;
00155             if(left>right)
00156                 left=right;
00157         }
00158         if(bottom>clip.bottom)
00159         {
00160             bottom=clip.bottom;
00161             if(top>bottom)
00162                 top=bottom;
00163         }
00164     }


Generated on Thu Jan 13 09:21:01 2011 for ImpalaSrc by  doxygen 1.5.1