cell_points#
- ExplicitStructuredGrid.cell_points(ind: int) numpy.ndarray #
Return the points in a cell.
- Parameters
- ind
int
Cell ID.
- ind
- Returns
numpy.ndarray
An array of floats with shape (number of points, 3) containing the coordinates of the cell corners.
Examples
>>> from pyvista import examples >>> mesh = examples.load_airplane() >>> mesh.cell_points(0) [[896.99401855 48.76010132 82.26560211] [906.59301758 48.76010132 80.74520111] [907.53900146 55.49020004 83.65809631]]