contrib/brl/bbas/imesh/algo/imesh_generate_mesh.h
Go to the documentation of this file.
00001 // This is brl/bbas/imesh/algo/imesh_generate_mesh.h
00002 #ifndef imesh_generate_mesh_h_
00003 #define imesh_generate_mesh_h_
00004 //:
00005 // \file
00006 // \brief mesh generation functions
00007 // \author J.L. Mundy
00008 // \date March 16, 2011
00009 //
00010 // \verbatim
00011 //  Modifications
00012 //   <none yet>
00013 // \endverbatim
00014 
00015 #include <imesh/imesh_mesh.h>
00016 #include <vcl_vector.h>
00017 #include <vgl/vgl_fwd.h>
00018 
00019 //: Fill the convex hull with triangles, constrained by the line segments
00020 void
00021 imesh_generate_mesh_2d(vcl_vector<vgl_point_2d<double> > const& convex_hull,
00022                        vcl_vector< vgl_line_segment_2d<double> > const & segs,
00023                        imesh_mesh& mesh);
00024 void 
00025 imesh_generate_mesh_2d_2(vcl_vector<vgl_point_2d<double> > const& convex_hull,
00026                        vcl_vector<vgl_line_segment_2d<double> > const& segs,
00027                        vcl_vector<vgl_point_2d<double> > const & points,
00028                        imesh_mesh& mesh);
00029 
00030 #endif // imesh_generate_mesh_h_