cell_point_ids#

DataSet.cell_point_ids(ind: int) List[int][source]#

Return the point ids in a cell.

Parameters
indint

Cell ID.

Returns
list[int]

Point Ids that are associated with the cell.

Examples

>>> from pyvista import examples
>>> mesh = examples.load_airplane()
>>> mesh.cell_type(0)
5

Cell type 5 is a triangular cell with three points.

>>> mesh.cell_point_ids(0)
[0, 1, 2]