![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Development path holding a generated development and the proportion of area going to it. More...
#include <FMTDevelopmentPath.h>
Public Member Functions | |
| FMTDevelopmentPath () | |
| Default constructor for FMTDevelopmentPath. | |
| FMTDevelopmentPath & | operator= (const FMTDevelopmentPath &rhs)=default |
| Copy assignment operator for FMTDevelopmentPath. | |
| FMTDevelopmentPath (const FMTDevelopmentPath &rhs)=default | |
| Copy constructor for FMTDevelopmentPath. | |
| ~FMTDevelopmentPath ()=default | |
| Default destructor for FMTDevelopmentPath. | |
| const FMTDevelopment & | getDevelopment () const |
| Get the new development. | |
| FMTDevelopment & | getDevelopmentReference () |
| Get the new development. | |
| double | getProportion () const |
| Get the proportion of area going to this dev. | |
| void | setProportion (double p_proportion) |
| Set the proportion of area going to this development. | |
| FMTDevelopmentPath (const FMTMask &p_mask, int p_age, int p_lock, int p_period, double p_proportion) | |
| Construct a development path from a mask, an age, a lock, a period and a proportion. | |
Development path holding a generated development and the proportion of area going to it.
| Core::FMTDevelopmentPath::FMTDevelopmentPath | ( | ) |
Default constructor for FMTDevelopmentPath.
|
default |
Copy constructor for FMTDevelopmentPath.
| [in] | rhs | the FMTDevelopmentPath to copy. |
|
default |
Default destructor for FMTDevelopmentPath.
| Core::FMTDevelopmentPath::FMTDevelopmentPath | ( | const FMTMask & | p_mask, |
| int | p_age, | ||
| int | p_lock, | ||
| int | p_period, | ||
| double | p_proportion | ||
| ) |
Construct a development path from a mask, an age, a lock, a period and a proportion.
| [in] | p_mask | the mask. |
| [in] | p_age | the age. |
| [in] | p_lock | the lock. |
| [in] | p_period | the period. |
| [in] | p_proportion | the proportion of area going to this development. |
| const FMTDevelopment & Core::FMTDevelopmentPath::getDevelopment | ( | ) | const |
Get the new development.
| FMTDevelopment & Core::FMTDevelopmentPath::getDevelopmentReference | ( | ) |
Get the new development.
| double Core::FMTDevelopmentPath::getProportion | ( | ) | const |
Get the proportion of area going to this dev.
|
default |
Copy assignment operator for FMTDevelopmentPath.
| [in] | rhs | the FMTDevelopmentPath to copy. |
| void Core::FMTDevelopmentPath::setProportion | ( | double | p_proportion | ) |
Set the proportion of area going to this development.
| [in] | p_proportion | the proportion to set. |