pyvista.CellStatus#
- enum CellStatus(value)[source]#
Cell status bits used by
cell_validator().Most cell status values are used by vtkCellValidator directly. Additional PyVista-exclusive values are also included.
- Member Type:
Valid values are as follows:
- VALID = <CellStatus.VALID: 0>#
Cell is valid and has no issues.
- WRONG_NUMBER_OF_POINTS = <CellStatus.WRONG_NUMBER_OF_POINTS: 1>#
Cell does not have the minimum number of points needed to describe it.
- INTERSECTING_EDGES = <CellStatus.INTERSECTING_EDGES: 2>#
2D cell has two edges that intersect.
- INTERSECTING_FACES = <CellStatus.INTERSECTING_FACES: 4>#
3D cell has two faces that intersect.
- NON_CONTIGUOUS_EDGES = <CellStatus.NON_CONTIGUOUS_EDGES: 8>#
2D cell’s perimeter edges are not contiguous.
- NON_CONVEX = <CellStatus.NON_CONVEX: 16>#
2D or 3D cell is not convex.
- INVERTED_FACES = <CellStatus.INVERTED_FACES: 32>#
Cell face(s) do not point in the direction required by its
CellType.
- NON_PLANAR_FACES = <CellStatus.NON_PLANAR_FACES: 64>#
Vertices for a face do not all lie in the same plane.
- DEGENERATE_FACES = <CellStatus.DEGENERATE_FACES: 128>#
Face(s) collapse to a line or a point through repeated collocated vertices.
- COINCIDENT_POINTS = <CellStatus.COINCIDENT_POINTS: 256>#
Cell has duplicate coordinates or repeated use of the same connectivity entry.
- INVALID_POINT_REFERENCES = <CellStatus.INVALID_POINT_REFERENCES: 65536>#
Cell references points outside the mesh’s
pointsarray.
- ZERO_SIZE = <CellStatus.ZERO_SIZE: 131072>#
1D, 2D, or 3D cell has zero length, area, or volume, respectively.
- NEGATIVE_SIZE = <CellStatus.NEGATIVE_SIZE: 1048576>#
1D, 2D, or 3D cell has negative length, area, or volume, respectively.