|
|
Public Member Functions | |
| point2D () | |
| Construct as null. | |
| point2D (const scalar, const scalar) | |
| Construct from components. | |
| point2D (const point &) | |
| Construct from point (uses only x and y components). | |
| point2D (Istream &) | |
| Construct from Istream. | |
| ~point2D () | |
| scalar | x () const |
| scalar | y () const |
| void | operator= (const point2D &) |
| void | operator *= (const scalar &) |
Friends | |
| point2D | operator+ (const point2D &, const point2D &) |
| addition | |
| point2D | operator- (const point2D &, const point2D &) |
| subtraction | |
| point2D | operator * (const scalar &, const point2D &) |
| multiplication by a scalar | |
| bool | operator== (const point2D &, const point2D &) |
| bool | operator!= (const point2D &, const point2D &) |
| scalar | distance (const point2D &, const point2D &) |
| distance between point2Ds | |
| Ostream & | operator<< (Ostream &, const point2D &) |
|
|
Construct as null.
Definition at line 51 of file point2DI.H. |
|
||||||||||||
|
Construct from components.
Definition at line 59 of file point2DI.H. References p, and Foam::point. |
|
|
Construct from point (uses only x and y components).
Definition at line 67 of file point2DI.H. References Istream::readBegin(). |
Here is the call graph for this function:

|
|
Construct from Istream. Read beginning of point2D Read end of point2D Check state of Istream Definition at line 75 of file point2DI.H. |
|
|
Definition at line 92 of file point2DI.H. |
|
|
Definition at line 118 of file point2DI.H. References point2D::X, and point2D::Y. |
|
|
Definition at line 112 of file point2DI.H. |
|
|
Definition at line 98 of file point2DI.H. Referenced by string2D::horizontal(). |
|
|
Definition at line 104 of file point2DI.H. References point2D::X, and point2D::Y. Referenced by string2D::x(). |
|
||||||||||||
|
distance between point2Ds
Definition at line 157 of file point2DI.H. |
|
||||||||||||
|
multiplication by a scalar
Definition at line 139 of file point2DI.H. |
|
||||||||||||
|
Definition at line 151 of file point2DI.H. |
|
||||||||||||
|
addition
Definition at line 127 of file point2DI.H. |
|
||||||||||||
|
subtraction
Definition at line 133 of file point2DI.H. |
|
||||||||||||
|
Check state of IOstream Definition at line 165 of file point2DI.H. |
|
||||||||||||
|
Definition at line 145 of file point2DI.H. |