Returns a new mesh containing only the specified cells and removes all unreferenced vertices
(&self, cell_indices: &[usize], keep_vertices: bool)
| 322 | |
| 323 | /// Returns a new mesh containing only the specified cells and removes all unreferenced vertices |
| 324 | fn keep_cells(&self, cell_indices: &[usize], keep_vertices: bool) -> Self { |
| 325 | if keep_vertices { |
| 326 | keep_cells_impl(self, cell_indices, &[]) |
| 327 | } else { |
| 328 | let vertex_keep_table = vertex_keep_table(self, cell_indices); |
| 329 | keep_cells_impl(self, cell_indices, &vertex_keep_table) |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | /// Removes all cells from the mesh that are completely outside the given AABB and clamps the remaining cells to the boundary |
| 334 | fn par_clamp_with_aabb( |
nothing calls this directly
no test coverage detected