|
Gadget
|
This is the class used to store the co-ordinates and size of an area, used when calculating the migration within the model. More...
#include <rectangle.h>

Public Member Functions | |
| Rectangle () | |
| This is the default Rectangle constructor. More... | |
| Rectangle (CommentStream &infile) | |
| This is the Rectangle constructor. More... | |
| ~Rectangle () | |
| This is the default Rectangle destructor. More... | |
| double | getLowerX () |
| This will return the lower co-ordinate for the x axis of the rectangle. More... | |
| double | getLowerY () |
| This will return the lower co-ordinate for the y axis of the rectangle. More... | |
| double | getUpperX () |
| This will return the upper co-ordinate for the x axis of the rectangle. More... | |
| double | getUpperY () |
| This will return the upper co-ordinate for the y axis of the rectangle. More... | |
| double | getArea () |
| This will return the size of the rectangle. More... | |
This is the class used to store the co-ordinates and size of an area, used when calculating the migration within the model.
| Rectangle::Rectangle | ( | ) |
This is the default Rectangle constructor.
| Rectangle::Rectangle | ( | CommentStream & | infile | ) |
This is the Rectangle constructor.
| infile | is the CommentStream to read the rectangle parameters from |
|
inline |
This is the default Rectangle destructor.
|
inline |
This will return the size of the rectangle.
|
inline |
This will return the lower co-ordinate for the x axis of the rectangle.
|
inline |
This will return the lower co-ordinate for the y axis of the rectangle.
|
inline |
This will return the upper co-ordinate for the x axis of the rectangle.
|
inline |
This will return the upper co-ordinate for the y axis of the rectangle.