#include <vstorefuncs.h>
Public Member Functions | |
| GetMinMax () | |
| Constructor. | |
| GetMinMax (const GetMinMax &gmm) | |
| Copy constructor. | |
| ~GetMinMax () | |
| Destructor. | |
| const GetMinMax & | operator= (const GetMinMax &gmm) |
| Assignment operator. | |
| void | operator() (const Coordinates &f, const Coordinates &t) |
| Function operator. | |
| void | reset () |
| Reset the minimum and maximum values. | |
| Coordinates | getMax () const |
| Return the maximum x and y values. | |
| Coordinates | getMin () const |
| Return the minimum x and y values. | |
Private Attributes | |
| Coordinates | max |
| The maximum x and y values. | |
| Coordinates | min |
| The minimum x and y values. | |
| GetMinMax::GetMinMax | ( | ) | [explicit] |
Constructor. Initializes min with the maximum value, and max with the minimum a double is capable holding of.
| GVectors::GetMinMax::GetMinMax | ( | const GetMinMax & | gmm | ) | [inline] |
| GVectors::GetMinMax::~GetMinMax | ( | ) | [inline] |
Destructor. Does nothing. Just for completeness.
| void GetMinMax::operator() | ( | const Coordinates & | f, | |
| const Coordinates & | t | |||
| ) |
| f | A const reference to a Coordinates object. | |
| t | A const reference to a Coordinates object. |
| void GetMinMax::reset | ( | ) |
Sets min to the maximum value, and max to the minimum value a double is capable holding of.
| Coordinates GVectors::GetMinMax::getMax | ( | ) | const [inline] |
Returns the maximum x and y values found.
| Coordinates GVectors::GetMinMax::getMin | ( | ) | const [inline] |
Returns the minimum x and y values found.
Coordinates GVectors::GetMinMax::max [private] |
Will hold the maximum x and y values found.
Coordinates GVectors::GetMinMax::min [private] |
Will hold the minimum x and y values found.
1.4.7