pyvista.point_array#
- point_array(obj, name)[source]#
Return point array of a pyvista or vtk object.
- Parameters:
- obj
pyvista.DataSet
|vtk.vtkDataSet
PyVista or VTK dataset.
- name
str
|int
Name or index of the array.
- obj
- Returns:
pyvista.pyvista_ndarray
orNone
Wrapped array if the index or name is valid. Otherwise,
None
.