MeshKit  1.0
mw_func.cpp File Reference
#include <iostream>
#include <sstream>
#include <iomanip>
#include <limits>
#include <assert.h>
#include <math.h>
#include <time.h>
#include <vector>
#include "moab/Core.hpp"
#include "MBTagConventions.hpp"
#include "moab/Range.hpp"
#include "moab/Skinner.hpp"
#include "moab/GeomTopoTool.hpp"
#include "meshkit/mw_func.hpp"
#include "meshkit/gen.hpp"
#include "meshkit/arc.hpp"
#include "meshkit/zip.hpp"
#include "meshkit/cleanup.hpp"
Include dependency graph for mw_func.cpp:

Go to the source code of this file.

Namespaces

namespace  mw_func

Functions

moab::ErrorCode delete_all_edges ()
moab::ErrorCode find_degenerate_tris ()
ErrorCode prepare_curves (Range &curve_sets, Tag geom_tag, Tag id_tag, Tag merge_tag, const double FACET_TOL, const bool debug, bool verbose)
ErrorCode create_arc_pair (const double FACET_TOL, const EntityHandle surf_set, std::vector< EntityHandle > &skin_loop, std::vector< EntityHandle > &curve_sets, const EntityHandle front_endpt, const bool debug, EntityHandle &curve_set, bool &curve_is_reversed, std::vector< EntityHandle > &curve, std::vector< EntityHandle > &skin_arc)
ErrorCode seal_arc_pair (const bool debug, const double FACET_TOL, const Tag normal_tag, std::vector< EntityHandle > &edge, std::vector< EntityHandle > &skin, const int surf_id)
ErrorCode seal_loop (bool debug, const double FACET_TOL, const Tag normal_tag, const Tag orig_curve_tag, const EntityHandle surf_set, std::vector< EntityHandle > &curve_sets, std::vector< EntityHandle > &skin_loop, bool verbose)
 seals the skin_loop to the closest curves in curve sets in a watertight fashion
ErrorCode prepare_surfaces (Range &surface_sets, Tag geom_tag, Tag id_tag, Tag normal_tag, Tag merge_tag, Tag orig_curve_tag, const double SME_RESABS_TOL, const double FACET_TOL, const bool debug, bool verbose)
ErrorCode fix_normals (Range surface_sets, Tag id_tag, Tag normal_tag, const bool debug, const bool verbose)
ErrorCode restore_moab_curve_representation (const Range curve_sets)
ErrorCode get_geom_size_before_sealing (const Range geom_sets[], const Tag geom_tag, const Tag size_tag, bool debug, bool verbose)
ErrorCode get_geom_size_after_sealing (const Range geom_sets[], const Tag geom_tag, const Tag size_tag, const double FACET_TOL, bool debug, bool verbose)
ErrorCode delete_merged_curves (Range &existing_curve_sets, Tag merge_tag, bool debug)
ErrorCode delete_sealing_tags (Tag normal_tag, Tag merge_tag, Tag size_tag, Tag orig_curve_tag)
ErrorCode get_unmerged_curves (EntityHandle surface, std::vector< EntityHandle > &curves, std::vector< EntityHandle > &unmerged_curves, Tag merge_tag, bool verbose, bool debug)
ErrorCode create_skin_vert_loops (Range &skin_edges, Range tris, std::vector< std::vector< EntityHandle > > &skin, int surf_id, bool &cont, bool debug)
ErrorCode merge_skin_verts (Range &skin_verts, Range &skin_edges, double SME_RESABS_TOL, int surf_id, bool cont, bool debug)
ErrorCode seal_surface_loops (EntityHandle surf, EntityHandle skin_loops[], std::vector< std::vector< EntityHandle > > skin, std::vector< EntityHandle > curves, Tag normal_tag, Tag orig_curve_tag, double FACET_TOL, int surf_id, bool debug)
ErrorCode make_mesh_watertight (EntityHandle input_set, double &facet_tol, bool verbose)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines