public static int RemoveUnusedVertices(DMesh3 mesh) { var e = new MeshEditor(mesh); return(e.RemoveUnusedVertices()); }