MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / clean_up_unselected

Method clean_up_unselected

tools/MeshUtils/SubMesh.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void SubMesh::clean_up_unselected() {
121 IsolatedVertexRemoval remover(m_vertices, m_unselected_faces);
122 remover.run();
123 m_unselected_vertices = remover.get_vertices();
124 m_unselected_faces = remover.get_faces();
125 m_unselected_vertex_indices = remover.get_ori_vertex_indices();
126}
127
128void SubMesh::check_validity() const {
129 if (m_selected_faces.rows() + m_unselected_faces.rows() != m_faces.rows()) {

Callers

nothing calls this directly

Calls 4

runMethod · 0.45
get_verticesMethod · 0.45
get_facesMethod · 0.45

Tested by

no test coverage detected