Gadget
|
This is the class used to store details of the areas used when calculating the migration within the model. More...
#include <migrationarea.h>
Public Member Functions | |
MigrationArea (CommentStream &infile, char *name, int id) | |
This is the MigrationArea constructor. More... | |
~MigrationArea () | |
This is the default MigrationArea destructor. More... | |
double | getArea () |
This will return the size of the migration area. More... | |
int | getAreaID () |
This will return the internal identifier of the migration area. More... | |
int | getNumRectangles () |
This will return the number of rectangles that make up the the migration area. More... | |
RectanglePtrVector & | getRectangles () |
This will return the RectanglePtrVector of rectangles that make up the the migration area. More... | |
This is the class used to store details of the areas used when calculating the migration within the model.
MigrationArea::MigrationArea | ( | CommentStream & | infile, |
char * | name, | ||
int | id | ||
) |
This is the MigrationArea constructor.
infile | is the CommentStream to read the migration area parameters from |
name | is the name of the migration area |
id | is the internal identifer of the migration area |
MigrationArea::~MigrationArea | ( | ) |
This is the default MigrationArea destructor.
|
inline |
This will return the size of the migration area.
|
inline |
This will return the internal identifier of the migration area.
|
inline |
This will return the number of rectangles that make up the the migration area.
|
inline |
This will return the RectanglePtrVector of rectangles that make up the the migration area.