points#

property UniformGrid.points: ndarray#

Build a copy of the implicitly defined points as a numpy array.

Notes

The points for a pyvista.UniformGrid cannot be set.

Examples

>>> import pyvista
>>> grid = pyvista.UniformGrid(dims=(2, 2, 2))
>>> grid.points
array([[0., 0., 0.],
       [1., 0., 0.],
       [0., 1., 0.],
       [1., 1., 0.],
       [0., 0., 1.],
       [1., 0., 1.],
       [0., 1., 1.],
       [1., 1., 1.]])