6#include "vtkCommonDataModelModule.h"
10VTK_ABI_NAMESPACE_BEGIN
31 return a !=
static_cast<short>(b);
36 return a ==
static_cast<short>(b);
41 return static_cast<short>(a) != b;
46 return static_cast<short>(a) == b;
51 return static_cast<vtkCellStatus>(
static_cast<short>(a) &
static_cast<short>(b));
56 return static_cast<vtkCellStatus>(
static_cast<short>(a) |
static_cast<short>(b));
61 a =
static_cast<vtkCellStatus>(
static_cast<short>(a) &
static_cast<short>(b));
67 a =
static_cast<vtkCellStatus>(
static_cast<short>(a) |
static_cast<short>(b));
88 os <<
"too few points";
97 os <<
"intersecting edges";
106 os <<
"noncontiguous edges";
125 os <<
"misoriented faces";
134 os <<
"non-planar faces";
vtkCellStatus & operator|=(vtkCellStatus &a, vtkCellStatus b)
bool operator==(short a, vtkCellStatus b)
vtkCellStatus
Diagnostic values indicating how well-specified a cell is.
@ DegenerateFaces
A face is collapsed to a line or a point.
@ IntersectingFaces
Faces of a volume self-intersect.
@ NoncontiguousEdges
Edge vertices are not ordered head-to-tail.
@ Valid
Cell is in a good state.
@ WrongNumberOfPoints
Lines have <2 points, faces <3.
@ Nonconvex
The cell has a concavity.
@ NonPlanarFaces
Vertices for a face do not all lie in the same plane.
@ FacesAreOrientedIncorrectly
All faces should have CCW windings.
@ IntersectingEdges
Edges of a face self-intersect.
bool operator!=(short a, vtkCellStatus b)
vtkCellStatus operator|(vtkCellStatus a, vtkCellStatus b)
vtkCellStatus & operator&=(vtkCellStatus &a, vtkCellStatus b)
bool operator!(const vtkCellStatus &s)
std::ostream & operator<<(std::ostream &os, vtkCellStatus state)
vtkCellStatus operator&(vtkCellStatus a, vtkCellStatus b)