Public Member Functions | Private Attributes | Friends
labelledPoint Class Reference
Collaboration diagram for labelledPoint:
Collaboration graph
[legend]

Public Member Functions

 labelledPoint ()
 Null construct. More...
 
 labelledPoint (const label pl, const point &p)
 Construct from point and label. More...
 
 ~labelledPoint ()
 
label pointLabel () const
 return point label More...
 
labelpointLabel ()
 
const pointcoordinates () const
 return point coordinates More...
 
pointcoordinates ()
 
void operator= (const labelledPoint &lp)
 
bool operator== (const labelledPoint &lp) const
 
bool operator!= (const labelledPoint &lp) const
 

Private Attributes

label pLabel_
 point label More...
 
point coords_
 point coordinates More...
 

Friends

Ostreamoperator<< (Ostream &os, const labelledPoint &lp)
 
Istreamoperator>> (Istream &is, labelledPoint &lp)
 

Detailed Description

Definition at line 50 of file labelledPoint.H.

Constructor & Destructor Documentation

◆ labelledPoint() [1/2]

labelledPoint ( )
inline

Null construct.

Definition at line 63 of file labelledPoint.H.

◆ labelledPoint() [2/2]

labelledPoint ( const label  pl,
const point p 
)
inline

Construct from point and label.

Definition at line 70 of file labelledPoint.H.

◆ ~labelledPoint()

~labelledPoint ( )
inline

Definition at line 77 of file labelledPoint.H.

Member Function Documentation

◆ pointLabel() [1/2]

label pointLabel ( ) const
inline

◆ pointLabel() [2/2]

label& pointLabel ( )
inline

Definition at line 87 of file labelledPoint.H.

References labelledPoint::pLabel_.

◆ coordinates() [1/2]

const point& coordinates ( ) const
inline

◆ coordinates() [2/2]

point& coordinates ( )
inline

Definition at line 98 of file labelledPoint.H.

References labelledPoint::coords_.

◆ operator=()

void operator= ( const labelledPoint lp)
inline

Definition at line 105 of file labelledPoint.H.

References labelledPoint::coords_, and labelledPoint::pLabel_.

◆ operator==()

bool operator== ( const labelledPoint lp) const
inline

Definition at line 111 of file labelledPoint.H.

References labelledPoint::pLabel_.

Referenced by labelledPoint::operator!=().

Here is the caller graph for this function:

◆ operator!=()

bool operator!= ( const labelledPoint lp) const
inline

Definition at line 119 of file labelledPoint.H.

References labelledPoint::operator==().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const labelledPoint lp 
)
friend

Definition at line 125 of file labelledPoint.H.

◆ operator>>

Istream& operator>> ( Istream is,
labelledPoint lp 
)
friend

Definition at line 137 of file labelledPoint.H.

Field Documentation

◆ pLabel_

label pLabel_
private

point label

Definition at line 54 of file labelledPoint.H.

Referenced by labelledPoint::operator=(), labelledPoint::operator==(), and labelledPoint::pointLabel().

◆ coords_

point coords_
private

point coordinates

Definition at line 57 of file labelledPoint.H.

Referenced by labelledPoint::coordinates(), and labelledPoint::operator=().


The documentation for this class was generated from the following file: