MCPcopy Create free account
hub / github.com/cutdigital/mcut / reset

Method reset

source/hmesh.cpp:1092–1110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1090}
1091
1092void hmesh_t::reset()
1093{
1094 m_vertices.clear();
1095 m_vertices.shrink_to_fit();
1096 m_vertices_removed.clear();
1097 m_vertices_removed.shrink_to_fit();
1098 m_halfedges.clear();
1099 m_halfedges.shrink_to_fit();
1100 m_halfedges_removed.clear();
1101 m_halfedges_removed.shrink_to_fit();
1102 m_edges.clear();
1103 m_edges.shrink_to_fit();
1104 m_edges_removed.clear();
1105 m_edges_removed.shrink_to_fit();
1106 m_faces.clear();
1107 m_faces.shrink_to_fit();
1108 m_faces_removed.clear();
1109 m_faces_removed.shrink_to_fit();
1110}
1111
1112int hmesh_t::number_of_internal_faces() const
1113{

Callers 2

dispatchFunction · 0.45
preproc.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected