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

Name of the array.

Returns
numpy.ndarray

Wrapped array.