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

Method remove_duplicated_vertices

tools/Wires/Misc/MeshCleaner.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void MeshCleaner::remove_duplicated_vertices(
48 MatrixFr& vertices, MatrixIr& faces, Float tol) {
49 VectorI importance_level = compute_importance_level(vertices);
50 DuplicatedVertexRemoval remover(vertices, faces);
51 remover.set_importance_level(importance_level);
52 remover.run(tol);
53 vertices = remover.get_vertices();
54 faces = remover.get_faces();
55}
56
57VectorI MeshCleaner::remove_short_edges(
58 MatrixFr& vertices, MatrixIr& faces, Float tol) {

Callers

nothing calls this directly

Calls 4

set_importance_levelMethod · 0.80
runMethod · 0.45
get_verticesMethod · 0.45
get_facesMethod · 0.45

Tested by

no test coverage detected