dimensions

property ExplicitStructuredGrid.dimensions: Tuple[int, int, int]

Return the topological dimensions of the grid.

Returns
tuple(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)