123 return masterPointID_ >= 0;
129 return masterEdgeID_ >= 0;
135 return masterFaceID_ >= 0;
141 return masterCellID_ >= 0;
155 return masterPointID_;
161 return masterEdgeID_;
167 return masterFaceID_;
173 return masterCellID_;
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Class containing data for cell addition.
label zoneID() const
Cell zone ID.
label masterFaceID() const
Return master face ID.
label masterPointID() const
Return master point ID.
bool isEdgeMaster() const
Is the cell mastered by an edge.
virtual autoPtr< topoAction > clone() const
Construct and return a clone.
polyAddCell(const label masterPointID, const label masterEdgeID, const label masterFaceID, const label masterCellID, const label zoneID)
Construct from components.
label masterCellID() const
Return master cell ID.
TypeName("addCell")
Runtime type information.
bool isInZone() const
Does the cell belong to a zone?
polyAddCell()
Construct null. Used for constructing lists.
label masterEdgeID() const
Return master edge ID.
bool appended() const
Is the cell appended with no master.
bool isFaceMaster() const
Is the cell mastered by another face.
bool isPointMaster() const
Is the cell mastered by a point.
bool isCellMaster() const
Is the cell mastered by another cell.
A virtual base class for topological actions.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.