Vertex manifold check. The result is stored as a per-vertex scalar field named "vertex_manifold".
(mesh)
| 2 | from .. import Mesh |
| 3 | |
| 4 | def is_vertex_manifold(mesh): |
| 5 | """ Vertex manifold check. The result is stored as a per-vertex scalar |
| 6 | field named "vertex_manifold". |
| 7 | """ |
| 8 | |
| 9 | vertex_manifold = PyMesh.is_vertex_manifold(mesh.faces) |
| 10 | mesh.add_attribute("vertex_manifold") |
| 11 | mesh.set_attribute("vertex_manifold", vertex_manifold) |
| 12 | |
| 13 | def is_edge_manifold(mesh): |
| 14 | """ Edge manifold check. The result is stored as a per-edge scalar |