Go to the documentation of this file.
35 #ifndef labelledPoint_H
36 #define labelledPoint_H
133 os.
check(
"operator<<(Ostream&, const labelledPoint&");
150 is.
check(
"operator>>(Istream&, labelledPoint");
Istream & readEnd(const char *funcName)
const point & coordinates() const
return point coordinates
labelledPoint(const label pl, const point &p)
Construct from point and label.
bool contiguous< labelledPoint >()
Specify data associated with labelledPoint type is contiguous.
friend Ostream & operator<<(Ostream &os, const labelledPoint &lp)
bool operator==(const labelledPoint &lp) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
labelledPoint()
Null construct.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool check(const char *operation) const
Check IOstream status for given operation.
point coords_
point coordinates
void operator=(const labelledPoint &lp)
Template function to specify if the data of a type are contiguous.
friend Istream & operator>>(Istream &is, labelledPoint &lp)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Istream & readBegin(const char *funcName)
bool operator!=(const labelledPoint &lp) const
label pointLabel() const
return point label
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...