MeshKit  1.0
arc Namespace Reference

Functions

ErrorCode orient_edge_with_tri (const EntityHandle edge, const EntityHandle tri)
ErrorCode remove_degenerate_edges (Range &edges, const bool debug)
ErrorCode remove_opposite_pairs_of_edges (Range &edges, const bool debug)
ErrorCode remove_opposite_pairs_of_edges_fast (Range &edges, const bool debug)
ErrorCode get_next_oriented_edge (const Range edges, const EntityHandle edge, EntityHandle &next_edge)
ErrorCode create_loops_from_oriented_edges_fast (Range edges, std::vector< std::vector< EntityHandle > > &loops_of_edges, const bool debug)
ErrorCode create_loops_from_oriented_edges (Range edges, std::vector< std::vector< EntityHandle > > &loops_of_edges, const bool debug)
ErrorCode order_verts_by_edge (Range unordered_edges, std::vector< EntityHandle > &ordered_verts)
ErrorCode get_meshset (const EntityHandle set, std::vector< EntityHandle > &vec)
ErrorCode set_meshset (const EntityHandle set, const std::vector< EntityHandle > vec)
ErrorCode merge_curves (Range curve_sets, const double facet_tol, Tag id_tag, Tag merge_tag, const bool debug)
moab::ErrorCode orient_edge_with_tri (const moab::EntityHandle edge, const moab::EntityHandle tri)
moab::ErrorCode remove_degenerate_edges (moab::Range &edges, const bool debug)
moab::ErrorCode remove_opposite_pairs_of_edges (moab::Range &edges, const bool debug)
moab::ErrorCode remove_opposite_pairs_of_edges_fast (moab::Range &edges, const bool debug)
moab::ErrorCode get_next_oriented_edge (const moab::Range edges, const moab::EntityHandle edge, moab::EntityHandle &next_edge)
moab::ErrorCode get_next_edge_and_vert_by_edge (const moab::Range edges_in, const moab::EntityHandle edge_in, const moab::EntityHandle vertex_in, moab::EntityHandle &edge_out, moab::EntityHandle &vertex_out)
moab::ErrorCode create_loops_from_oriented_edges_fast (moab::Range edges, std::vector< std::vector< moab::EntityHandle > > &loops_of_edges, const bool debug)
moab::ErrorCode create_loops_from_oriented_edges (moab::Range edges, std::vector< std::vector< moab::EntityHandle > > &loops_of_edges, const bool debug)
moab::ErrorCode order_verts_by_edge (moab::Range unordered_edges, std::vector< moab::EntityHandle > &ordered_verts)
moab::ErrorCode get_meshset (const moab::EntityHandle set, std::vector< moab::EntityHandle > &vec)
 gets the moab entities in the meshset, set, and returns them to vec
moab::ErrorCode set_meshset (const moab::EntityHandle set, const std::vector< moab::EntityHandle > vec)
moab::ErrorCode merge_curves (moab::Range curve_sets, const double FACET_TOL, moab::Tag idTag, moab::Tag merge_tag, const bool debug)

Function Documentation

moab::ErrorCode arc::create_loops_from_oriented_edges ( moab::Range  edges,
std::vector< std::vector< moab::EntityHandle > > &  loops_of_edges,
const bool  debug 
)
ErrorCode arc::create_loops_from_oriented_edges ( Range  edges,
std::vector< std::vector< EntityHandle > > &  loops_of_edges,
const bool  debug 
)

Definition at line 292 of file arc.cpp.

moab::ErrorCode arc::create_loops_from_oriented_edges_fast ( moab::Range  edges,
std::vector< std::vector< moab::EntityHandle > > &  loops_of_edges,
const bool  debug 
)
ErrorCode arc::create_loops_from_oriented_edges_fast ( Range  edges,
std::vector< std::vector< EntityHandle > > &  loops_of_edges,
const bool  debug 
)

Definition at line 263 of file arc.cpp.

moab::ErrorCode arc::get_meshset ( const moab::EntityHandle  set,
std::vector< moab::EntityHandle > &  vec 
)

gets the moab entities in the meshset, set, and returns them to vec

ErrorCode arc::get_meshset ( const EntityHandle  set,
std::vector< EntityHandle > &  vec 
)

Definition at line 458 of file arc.cpp.

moab::ErrorCode arc::get_next_edge_and_vert_by_edge ( const moab::Range  edges_in,
const moab::EntityHandle  edge_in,
const moab::EntityHandle  vertex_in,
moab::EntityHandle &  edge_out,
moab::EntityHandle &  vertex_out 
)
moab::ErrorCode arc::get_next_oriented_edge ( const moab::Range  edges,
const moab::EntityHandle  edge,
moab::EntityHandle &  next_edge 
)
ErrorCode arc::get_next_oriented_edge ( const Range  edges,
const EntityHandle  edge,
EntityHandle &  next_edge 
)

Definition at line 199 of file arc.cpp.

moab::ErrorCode arc::merge_curves ( moab::Range  curve_sets,
const double  FACET_TOL,
moab::Tag  idTag,
moab::Tag  merge_tag,
const bool  debug 
)

goes through curve_sets and finds any curves with coincident ( dist. apart <= FACET_TOL) front and back points. it then merges the curves topologically. Any merged curves aren't deleted until prepare surfaces.

ErrorCode arc::merge_curves ( Range  curve_sets,
const double  facet_tol,
Tag  id_tag,
Tag  merge_tag,
const bool  debug 
)

Definition at line 475 of file arc.cpp.

moab::ErrorCode arc::order_verts_by_edge ( moab::Range  unordered_edges,
std::vector< moab::EntityHandle > &  ordered_verts 
)
ErrorCode arc::order_verts_by_edge ( Range  unordered_edges,
std::vector< EntityHandle > &  ordered_verts 
)

Definition at line 400 of file arc.cpp.

moab::ErrorCode arc::orient_edge_with_tri ( const moab::EntityHandle  edge,
const moab::EntityHandle  tri 
)

check that edge is going in the same direction as one of the edges on tri. If this is not the case, the edge is reversed.

ErrorCode arc::orient_edge_with_tri ( const EntityHandle  edge,
const EntityHandle  tri 
)

Definition at line 18 of file arc.cpp.

moab::ErrorCode arc::remove_degenerate_edges ( moab::Range &  edges,
const bool  debug 
)
ErrorCode arc::remove_degenerate_edges ( Range &  edges,
const bool  debug 
)

Definition at line 48 of file arc.cpp.

moab::ErrorCode arc::remove_opposite_pairs_of_edges ( moab::Range &  edges,
const bool  debug 
)

deletes any duplicate edges in moab::Range edges for which one goes from vertex a to vertex b and the other from b to a

ErrorCode arc::remove_opposite_pairs_of_edges ( Range &  edges,
const bool  debug 
)

Definition at line 84 of file arc.cpp.

moab::ErrorCode arc::remove_opposite_pairs_of_edges_fast ( moab::Range &  edges,
const bool  debug 
)
ErrorCode arc::remove_opposite_pairs_of_edges_fast ( Range &  edges,
const bool  debug 
)

Definition at line 128 of file arc.cpp.

moab::ErrorCode arc::set_meshset ( const moab::EntityHandle  set,
const std::vector< moab::EntityHandle >  vec 
)

clears the given meshset set and then adds the entities desired to the meshset (apparently child_parent_relations are taken care of here? Edges are created how?)

ErrorCode arc::set_meshset ( const EntityHandle  set,
const std::vector< EntityHandle >  vec 
)

Definition at line 466 of file arc.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines