MeshKit
1.0
|
Classes | |
struct | triangles |
Functions | |
moab::ErrorCode | t_joint (moab::Tag normal_tag, const moab::EntityHandle vert0, const moab::EntityHandle vert1, const moab::EntityHandle vert2, bool debug) |
moab::ErrorCode | delete_degenerate_tris (moab::EntityHandle tri) |
removes the entitiy handle tri from the loaded mesh | |
moab::ErrorCode | delete_degenerate_tris (moab::Range tris) |
moab::ErrorCode | delete_adj_degenerate_tris (const moab::EntityHandle adj_vert) |
moab::ErrorCode | merge_verts (const moab::EntityHandle keep_vert, const moab::EntityHandle delete_vert, std::vector< moab::EntityHandle > &arc0, std::vector< moab::EntityHandle > &arc1) |
moab::ErrorCode | test_normals (const std::vector< moab::CartVect > norms0, const std::vector< moab::CartVect > norms1, std::vector< int > &inverted_tri_indices) |
test two normal vectors to see if they point in the same direction | |
moab::ErrorCode | test_normals (const moab::CartVect norms0, const moab::CartVect norms1) |
moab::ErrorCode | remove_inverted_tris (moab::Tag normal_tag, moab::Range tris, const bool debug) |
moab::ErrorCode | test_zipping (const double FACET_TOL, const std::vector< std::vector< moab::EntityHandle > > arcs) |
tests the watertightness of all arcs in the vector-array of moab entity handles arcs | |
ErrorCode | t_joint (Tag normal_tag, const EntityHandle vert0, const EntityHandle vert1, const EntityHandle vert2, bool debug) |
ErrorCode | delete_degenerate_tris (EntityHandle tri) |
ErrorCode | delete_degenerate_tris (Range tris) |
ErrorCode | delete_adj_degenerate_tris (const EntityHandle adj_vert) |
ErrorCode | merge_verts (const EntityHandle keep_vert, const EntityHandle delete_vert, std::vector< EntityHandle > &arc0, std::vector< EntityHandle > &arc1) |
ErrorCode | test_normals (const std::vector< CartVect > norms0, const std::vector< CartVect > norms1, std::vector< int > &inverted_tri_indices) |
ErrorCode | test_normals (const CartVect norm0, const CartVect norm1) |
ErrorCode | remove_inverted_tris (Tag normal_tag, Range tris, const bool debug) |
ErrorCode | test_zipping (const double FACET_TOL, const std::vector< std::vector< EntityHandle > > arcs) |
moab::ErrorCode zip::delete_adj_degenerate_tris | ( | const moab::EntityHandle | adj_vert | ) |
ErrorCode zip::delete_adj_degenerate_tris | ( | const EntityHandle | adj_vert | ) |
moab::ErrorCode zip::delete_degenerate_tris | ( | moab::EntityHandle | tri | ) |
removes the entitiy handle tri from the loaded mesh
moab::ErrorCode zip::delete_degenerate_tris | ( | moab::Range | tris | ) |
checks that no triangles in the moab::Range tris are degenterate. If degenerate triangles are found, they are deleted from the mesh.
ErrorCode zip::delete_degenerate_tris | ( | EntityHandle | tri | ) |
ErrorCode zip::delete_degenerate_tris | ( | Range | tris | ) |
moab::ErrorCode zip::merge_verts | ( | const moab::EntityHandle | keep_vert, |
const moab::EntityHandle | delete_vert, | ||
std::vector< moab::EntityHandle > & | arc0, | ||
std::vector< moab::EntityHandle > & | arc1 | ||
) |
merges two vertices by updating the entity handle of the deleted vert to the vert to keep in the correct arc. Uses MOAB function merge_entities to merge the vertices in the database. Also deletes the triangles adjacent to the merged vertices if one becomes degenerate.
ErrorCode zip::merge_verts | ( | const EntityHandle | keep_vert, |
const EntityHandle | delete_vert, | ||
std::vector< EntityHandle > & | arc0, | ||
std::vector< EntityHandle > & | arc1 | ||
) |
moab::ErrorCode zip::remove_inverted_tris | ( | moab::Tag | normal_tag, |
moab::Range | tris, | ||
const bool | debug | ||
) |
ErrorCode zip::remove_inverted_tris | ( | Tag | normal_tag, |
Range | tris, | ||
const bool | debug | ||
) |
moab::ErrorCode zip::t_joint | ( | moab::Tag | normal_tag, |
const moab::EntityHandle | vert0, | ||
const moab::EntityHandle | vert1, | ||
const moab::EntityHandle | vert2, | ||
bool | debug | ||
) |
ErrorCode zip::t_joint | ( | Tag | normal_tag, |
const EntityHandle | vert0, | ||
const EntityHandle | vert1, | ||
const EntityHandle | vert2, | ||
bool | debug | ||
) |
moab::ErrorCode zip::test_normals | ( | const std::vector< moab::CartVect > | norms0, |
const std::vector< moab::CartVect > | norms1, | ||
std::vector< int > & | inverted_tri_indices | ||
) |
test two normal vectors to see if they point in the same direction
moab::ErrorCode zip::test_normals | ( | const moab::CartVect | norms0, |
const moab::CartVect | norms1 | ||
) |
ErrorCode zip::test_normals | ( | const std::vector< CartVect > | norms0, |
const std::vector< CartVect > | norms1, | ||
std::vector< int > & | inverted_tri_indices | ||
) |
ErrorCode zip::test_normals | ( | const CartVect | norm0, |
const CartVect | norm1 | ||
) |
moab::ErrorCode zip::test_zipping | ( | const double | FACET_TOL, |
const std::vector< std::vector< moab::EntityHandle > > | arcs | ||
) |
tests the watertightness of all arcs in the vector-array of moab entity handles arcs
ErrorCode zip::test_zipping | ( | const double | FACET_TOL, |
const std::vector< std::vector< EntityHandle > > | arcs | ||
) |