32 #ifndef polyAddPoint_H 33 #define polyAddPoint_H 96 masterPointID_(masterPointID),
100 if (zoneID_ < 0 && !inCell)
103 <<
"This is not allowed.\n" 105 <<
" master: " << masterPointID_
106 <<
" zone: " << zoneID_
133 return masterPointID_;
139 return masterPointID_ < 0;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label zoneID() const
Point zone ID.
bool isInZone() const
Does the point belong to a zone?
Class containing data for point addition.
virtual autoPtr< topoAction > clone() const
Construct and return a clone.
const point & newPoint() const
Point location.
TypeName("addPoint")
Runtime type information.
bool inCell() const
Does the point support a cell.
errorManip< error > abort(error &err)
A virtual base class for topological actions.
bool appended() const
Is the point appended with no master.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
polyAddPoint()
Construct null. Used only for list construction.
label masterPointID() const
Master point label.