DataSet.min_cell_dimensionality

DataSet.min_cell_dimensionality#

property DataSet.min_cell_dimensionality: _Dimensionality[source]#

Get the minimum spatial dimensionality of all cells in this mesh.

Added in version 0.47.

Returns:
int

The minimum dimensionality of the dataset’s cells.

Notes#

min_cell_dimensionality:

Examples#

Download Python source code | Download Jupyter notebook

Show the max and min cell dimensionality of a LINE cell and TRIANGLE cell.

>>> from pyvista.examples import cells
>>> line = cells.Line()
>>> line.max_cell_dimensionality
1
>>> line.min_cell_dimensionality
1

Merge the two cells and show the max and min cell dimensionality.

See Also#

max_cell_dimensionality, dimensionality, distinct_cell_types