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

Method merge_bd_and_non_bd_faces

tools/Wires/Misc/BoundaryRemesher.cpp:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void BoundaryRemesher::merge_bd_and_non_bd_faces() {
129 const size_t num_bd_vertices = m_bd_vertices.rows();
130 std::vector<MatrixFr> vertices = {m_bd_vertices, m_non_bd_vertices};
131 std::vector<MatrixIr> faces = {m_bd_faces,
132 m_non_bd_faces.array() + num_bd_vertices};
133
134 m_vertices = MatrixUtils::vstack(vertices);
135 m_faces = MatrixUtils::vstack(faces);
136 assert_faces_are_valid(m_faces);
137}
138
139void BoundaryRemesher::remove_duplicated_vertices() {
140 MeshCleaner cleaner;

Callers

nothing calls this directly

Calls 1

assert_faces_are_validFunction · 0.85

Tested by

no test coverage detected