Classes | Defines | Functions
contrib/brl/bbas/imesh/algo/imesh_generate_mesh.cxx File Reference
#include "imesh_generate_mesh.h"
#include <triangle.h>
#include <vcl_cassert.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_line_segment_2d.h>
#include <vgl/vgl_box_2d.h>
#include <vcl_iostream.h>
#include <vil/vil_image_view.h>

Go to the source code of this file.

Classes

class  point_index

Defines

#define GRID_SIZE   1000

Functions

void imesh_generate_mesh_2d (vcl_vector< vgl_point_2d< double > > const &convex_hull, vcl_vector< vgl_line_segment_2d< double > > const &segs, imesh_mesh &mesh)
 Fill the convex hull with triangles, constrained by the line segments.
void imesh_generate_mesh_2d_2 (vcl_vector< vgl_point_2d< double > > const &convex_hull, vcl_vector< vgl_line_segment_2d< double > > const &segs, vcl_vector< vgl_point_2d< double > > const &points, imesh_mesh &mesh)

Detailed Description

Definition in file imesh_generate_mesh.cxx.


Define Documentation

#define GRID_SIZE   1000

Definition at line 14 of file imesh_generate_mesh.cxx.


Function Documentation

void imesh_generate_mesh_2d ( vcl_vector< vgl_point_2d< double > > const &  convex_hull,
vcl_vector< vgl_line_segment_2d< double > > const &  segs,
imesh_mesh mesh 
)

Fill the convex hull with triangles, constrained by the line segments.

Definition at line 68 of file imesh_generate_mesh.cxx.

void imesh_generate_mesh_2d_2 ( vcl_vector< vgl_point_2d< double > > const &  convex_hull,
vcl_vector< vgl_line_segment_2d< double > > const &  segs,
vcl_vector< vgl_point_2d< double > > const &  points,
imesh_mesh mesh 
)

Definition at line 170 of file imesh_generate_mesh.cxx.