Cell.points#
- property Cell.points: NumpyArray[float][source]#
Get the point coordinates of the cell.
- Returns:
np.ndarrayThe point coordinates of the cell.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mesh.get_cell(0).points
array([[0.05405951, 0. , 0.49706897],
[0.05287818, 0.0112396 , 0.49706897],
[0. , 0. , 0.5 ]])