Go to the documentation of this file.
34 #ifndef polyAddPoint_H
35 #define polyAddPoint_H
102 if (zoneID_ < 0 && !
inCell)
105 <<
"This is not allowed.\n"
107 <<
" master: " << masterPointID_
108 <<
" zone: " << zoneID_
135 return masterPointID_;
141 return masterPointID_ < 0;
bool inCell() const
Does the point support a cell.
virtual autoPtr< topoAction > clone() const
Construct and return a clone.
static constexpr const zero Zero
Global zero (0)
TypeName("addPoint")
Runtime type information.
polyAddPoint()
Construct null. Used only for list construction.
const point & newPoint() const
Point location.
errorManip< error > abort(error &err)
bool appended() const
Is the point appended with no master.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool isInZone() const
Does the point belong to a zone?
label zoneID() const
Point zone ID.
Class containing data for point addition.
A virtual base class for topological actions.
label masterPointID() const
Master point label.