21 int main(
int argc,
char* argv[] )
24 const char* filename_mesh1 =
STRINGIFY( MESHDIR )
"/mbcslam/m1.vtk";
25 const char* filename_mesh2 =
STRINGIFY( MESHDIR )
"/mbcslam/m2.vtk";
26 const char* newFile =
"intx1.vtk";
27 const char* edgesFile =
"polyWithEdges.vtk";
30 filename_mesh1 = argv[1];
31 filename_mesh2 = argv[2];
36 printf(
"Usage: %s <mesh_filename1> <mesh_filename2> <newFile>\n", argv[0] );
37 if( argc != 1 )
return 1;
38 printf(
"No files specified. Defaulting to: %s %s %s\n", filename_mesh1, filename_mesh2, newFile );
80 std::cout <<
"number of edges:" << edges.
size() <<
"\n";