dimensions

property ExplicitStructuredGrid.dimensions

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  
array([5, 6, 7])