pyvista.ImageData.x

Contents

pyvista.ImageData.x#

property ImageData.x: NumpyArray[float][source]#

Return all the X points.

Examples

>>> import pyvista as pv
>>> grid = pv.ImageData(dimensions=(2, 2, 2))
>>> grid.x
array([0., 1., 0., 1., 0., 1., 0., 1.])