core/vgl/vgl_convex.h
Go to the documentation of this file.
00001 // This is core/vgl/vgl_convex.h
00002 #ifndef vgl_convex_h_
00003 #define vgl_convex_h_
00004 //:
00005 // \file
00006 // \brief Functions such as convex hull, convex union, convexify polygon, ...
00007 // \author Peter Vanroose
00008 // \date 14 November 2003
00009 
00010 #include <vcl_vector.h>
00011 #include <vgl/vgl_point_2d.h>
00012 #include <vgl/vgl_polygon.h>
00013 
00014 //: Return a single-sheet polygon which is the smallest one containing all given points
00015 // \relatesalso vgl_polygon
00016 template <class T> vgl_polygon<T> vgl_convex_hull(vcl_vector<vgl_point_2d<T> > const& points);
00017 
00018 #endif // vgl_convex_h_