00001 #ifndef Impala_Core_Geometry_VxDuring_h
00002 #define Impala_Core_Geometry_VxDuring_h
00003 
00004 #include "Core/Geometry/VxRectangle.h"
00005 
00006 namespace Impala
00007 {
00008 namespace Core
00009 {
00010 namespace Geometry
00011 {
00012 
00013 
00014 template <class Iterator>
00015 inline bool
00016 VxDuring(const VxRectangle& v, Iterator begin, Iterator end)
00017 {
00018         for (Iterator it=begin ; it!=end ; it++)
00019         if (v.During(*it))
00020             return true;
00021         return false;
00022 }
00023 
00024 } 
00025 } 
00026 } 
00027 
00028 #endif