MeshKit  1.0
zip.hpp
Go to the documentation of this file.
00001 #ifndef ZIP_HPP
00002 #define ZIP_HPP
00003 
00004 #include "moab/Core.hpp"
00005 #include "gen.hpp"
00006 #include "arc.hpp"
00007 
00008 namespace zip {
00009   moab::ErrorCode t_joint( moab::Tag normal_tag, 
00010                        const moab::EntityHandle vert0,              
00011                        const moab::EntityHandle vert1,                         
00012                        const moab::EntityHandle vert2,
00013                        bool debug );
00015   moab::ErrorCode delete_degenerate_tris( moab::EntityHandle tri );
00018   moab::ErrorCode delete_degenerate_tris( moab::Range tris );
00019 
00020   moab::ErrorCode delete_adj_degenerate_tris( const moab::EntityHandle adj_vert );
00021 
00022 
00027   moab::ErrorCode merge_verts( const moab::EntityHandle keep_vert, 
00028                            const moab::EntityHandle delete_vert,
00029                            std::vector<moab::EntityHandle> &arc0,
00030                            std::vector<moab::EntityHandle> &arc1 );
00031 
00033   moab::ErrorCode test_normals( const std::vector<moab::CartVect> norms0,
00034                             const std::vector<moab::CartVect> norms1,
00035                             std::vector<int> &inverted_tri_indices );
00036   moab::ErrorCode test_normals( const             moab::CartVect  norms0,
00037                             const             moab::CartVect  norms1 );
00038 
00039   moab::ErrorCode remove_inverted_tris(moab::Tag normal_tag, moab::Range tris, const bool debug );
00040 
00042   moab::ErrorCode test_zipping( const double FACET_TOL,
00043                             const std::vector< std::vector<moab::EntityHandle> > arcs );
00044 
00045 }
00046 
00047 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines