Skip to main content

tm_mesh_cleanup

tm_mesh_cleanup(mesh) ⇒ number

Remove parts of the mesh that are not connected to any of the faces. This is typically used after filtering or reduction operation to get rid of dangling references.

Kind: global function
Returns: number - number of structures removed (vertices + edges), if this is 0 - no changes were done

ParamType
meshTopoMesh