point_array#

point_array(obj, name)[source]#

Return point array of a pyvista or vtk object.

Parameters
objpyvista.DataSet or vtk.vtkDataSet

PyVista or VTK dataset.

namestr or int

Name or index of the array.

Returns
pyvista.pyvista_ndarray or None

Wrapped array if the index or name is valid. Otherwise, None.