View source: R/smoothing_on_manifolds.R
clean_up_manifold_triangles | R Documentation |
If mesh edge has 2+ attached triangles, keep the 2 triangles most well-connected triangles
clean_up_manifold_triangles(manifold, k = 1)
manifold |
A list of length 2 with names 'vertex_matrix' and 'triangle_matrix'
like |
k |
degrees-of-seperation for defining neighbours. Default is 1 (i.e. adjacent vertices) |
increasing k drastically slows down computation
A list of length 2 with names 'vertex_matrix' and 'triangle_matrix' similar to 'manifold' argument. Problematic triangles (if they exist) are removed from the mesh.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.