MeshKit  1.0
cw_func.hpp
Go to the documentation of this file.
00001 #ifndef CWF_HPP
00002 #define CWF_HPP
00003 
00004 #include <iostream>
00005 #include <iomanip> // for setprecision
00006 #include <limits> // for min/max values
00007 #include <assert.h>
00008 #include <math.h>
00009 #include <time.h>
00010 #include <vector>
00011 #include <algorithm>
00012 #include "moab/Core.hpp"
00013 #include "moab/Range.hpp"
00014 #include "moab/AdaptiveKDTree.hpp" // for merging verts
00015 #include "moab/CartVect.hpp"
00016 
00017 namespace cw_func {
00021  moab::ErrorCode check_mesh_for_watertightness( moab::EntityHandle input_set, double tol, bool &sealed, bool test = false,  bool verbose = false , bool check_topology = false );
00022 
00023  int compare_by_coords(const void *a, const void *b);
00024  
00025  int compare_by_handle(const void *a, const void *b);
00026  
00027  struct coords_and_id {
00028   double x1;
00029   double y1;
00030   double z1;
00031   double x2;
00032   double y2;
00033   double z2;
00034   int  surf_id;
00035   bool matched;
00036   moab::EntityHandle vert1;
00037   moab::EntityHandle vert2;
00038 };
00039 
00040 }
00041 
00042 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines