Exception thrown if the boundaries are given in the wrong order. More...
#include <BCSides.hpp>
Public Member Functions | |
WrongBCSidesOrderException (double down, double up, double left, double right) | |
Class constructor. More... | |
WrongBCSidesOrderException (const WrongBCSidesOrderException &origin) | |
Copy constructor. More... | |
double | GetUp (void) const |
Returns the y coordinate of the upper boundary. More... | |
double | GetDown (void) const |
Returns the y coordinate of the lower boundary. More... | |
double | GetLeft (void) const |
Returns the x coordinate of the left boundary. More... | |
double | GetRight (void) const |
Returns the x coordinate of the right boundary. More... | |
Exception thrown if the boundaries are given in the wrong order.
Definition at line 71 of file BCSides.hpp.
WrongBCSidesOrderException::WrongBCSidesOrderException | ( | double | down, |
double | up, | ||
double | left, | ||
double | right | ||
) |
Class constructor.
down | y coordinate of the lower boundary |
up | y coordinate of the upper boundary |
left | x coordinate of the left boundary |
right | x coordinate of the right boundary |
Definition at line 59 of file BCSides.cpp.
WrongBCSidesOrderException::WrongBCSidesOrderException | ( | const WrongBCSidesOrderException & | origin | ) |
double WrongBCSidesOrderException::GetDown | ( | void | ) | const |
Returns the y coordinate of the lower boundary.
Definition at line 79 of file BCSides.cpp.
double WrongBCSidesOrderException::GetLeft | ( | void | ) | const |
Returns the x coordinate of the left boundary.
Definition at line 84 of file BCSides.cpp.
double WrongBCSidesOrderException::GetRight | ( | void | ) | const |
Returns the x coordinate of the right boundary.
Definition at line 89 of file BCSides.cpp.
double WrongBCSidesOrderException::GetUp | ( | void | ) | const |
Returns the y coordinate of the upper boundary.
Definition at line 74 of file BCSides.cpp.