core/vgl/vgl_polygon_test.h
Go to the documentation of this file.
00001 // This is core/vgl/vgl_polygon_test.h
00002 #ifndef vgl_polygon_test_h_
00003 #define vgl_polygon_test_h_
00004 //:
00005 // \file
00006 // \author fsm
00007 // \verbatim
00008 //  Modifications
00009 //   Nov.2003 - Peter Vanroose - made function templated
00010 // \endverbatim
00011 
00012 //: return true iff (x, y) is inside (or on boundary of) the given n-gon.
00013 // \relatesalso vgl_polygon
00014 template <class T>
00015 bool vgl_polygon_test_inside(T const *xs, T const *ys, unsigned n, T x, T y);
00016 
00017 #define VGL_POLYGON_TEST_INSTANTIATE(T) extern "please include vgl/vgl_polygon_test.txx instead"
00018 
00019 #endif // vgl_polygon_test_h_