mosaic.utils.cull_mesh#
- mosaic.utils.cull_mesh(ds_base, cells_to_cull)#
Cull cells from a mesh using a cell mask
The function removes cells based on the cells_to_cull mask, where a True value means the cell will be culled.
- Parameters:
- Returns:
A culled mesh dataset, where indexToCellID, indexToEdgeID, and indexToVertexID arrays have been added, which act as lookup tables for data array from the base (ie. unculled) mesh
- Return type: