pyvista.ExplicitStructuredGrid.dimensions#

property ExplicitStructuredGrid.dimensions: tuple[int, int, int][source]#

Return the topological dimensions of the grid.

Returns:
tuple[int, int, int]

Number of sampling points in the I, J and Z directions respectively.

Examples

>>> from pyvista import examples
>>> grid = examples.load_explicit_structured()
>>> grid.dimensions
(5, 6, 7)