Public Member Functions | List of all members
WrongBCSidesOrderException Class Reference

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...
 

Detailed Description

Exception thrown if the boundaries are given in the wrong order.

Definition at line 71 of file BCSides.hpp.

Constructor & Destructor Documentation

◆ WrongBCSidesOrderException() [1/2]

WrongBCSidesOrderException::WrongBCSidesOrderException ( double  down,
double  up,
double  left,
double  right 
)

Class constructor.

Parameters
downy coordinate of the lower boundary
upy coordinate of the upper boundary
leftx coordinate of the left boundary
rightx coordinate of the right boundary

Definition at line 59 of file BCSides.cpp.

◆ WrongBCSidesOrderException() [2/2]

WrongBCSidesOrderException::WrongBCSidesOrderException ( const WrongBCSidesOrderException origin)

Copy constructor.

Parameters
originOriginal

Definition at line 64 of file BCSides.cpp.

Member Function Documentation

◆ GetDown()

double WrongBCSidesOrderException::GetDown ( void  ) const

Returns the y coordinate of the lower boundary.

Returns
y coordinate of the lower boundary

Definition at line 79 of file BCSides.cpp.

◆ GetLeft()

double WrongBCSidesOrderException::GetLeft ( void  ) const

Returns the x coordinate of the left boundary.

Returns
x coordinate of the left boundary

Definition at line 84 of file BCSides.cpp.

◆ GetRight()

double WrongBCSidesOrderException::GetRight ( void  ) const

Returns the x coordinate of the right boundary.

Returns
x coordinate of the right boundary

Definition at line 89 of file BCSides.cpp.

◆ GetUp()

double WrongBCSidesOrderException::GetUp ( void  ) const

Returns the y coordinate of the upper boundary.

Returns
y coordinate of the upper boundary

Definition at line 74 of file BCSides.cpp.


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