public class FrenchHDRelationship2018PlotImpl extends java.lang.Object implements FrenchHDRelationship2018Plot
| Modifier and Type | Field and Description |
|---|---|
protected int |
dateYr |
protected java.lang.String |
id |
protected double |
pent2 |
protected java.util.List<FrenchHDRelationship2018Tree> |
treeList |
protected double |
xCoord |
protected double |
yCoord |
| Constructor and Description |
|---|
FrenchHDRelationship2018PlotImpl(java.lang.String id,
double pentInc,
double xCoord,
double yCoord,
boolean hasBeenHarvestedInLast5Years,
double basalAreaM2Ha,
double mqdCm,
int dateYr)
Constructor for French NFI.
|
FrenchHDRelationship2018PlotImpl(java.lang.String id,
double pentInc,
double xCoord,
double yCoord,
boolean hasBeenHarvestedInLast5Years,
int monteCarloId,
double mqdCm,
int dateYr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addTree(FrenchHDRelationship2018TreeImpl tree) |
double |
getBasalAreaM2HaMinusThisSubject(HDRelationshipTree tree)
This method returns the basal area per hectare minus the basal area of the tree.
|
int |
getDateYr()
This method returns the current date in years.
|
double |
getElevationM()
This method returns the elevation above sea level (m).
|
double |
getLatitudeDeg()
This method returns the latitude of the plot in degrees.
|
double |
getLongitudeDeg()
This method returns the longitude of the plot in degrees.
|
double |
getMeanQuadraticDiameterCm()
This method returns the mean quadratic diameter of the living trees (cm).
|
int |
getMonteCarloRealizationId()
This method returns the id of the Monte Carlo realization.
|
double |
getSlopeInclinationPercent()
This method returns the slope inclination in percentage.
|
java.lang.String |
getSubjectId()
This method returns an object that makes it possible to identify
the subject that implements this interface.
|
java.util.Collection<HDRelationshipTree> |
getTreesForFrenchHDRelationship()
This method returns the trees that are available in the stand for height prediction.
|
boolean |
isInterventionResult()
This method returns true if the stand has just been harvested or thinned.
|
void |
setDateYr(int dateYr)
Sets the date of the measurement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHierarchicalLevelprotected final java.lang.String id
protected final double pent2
protected final double xCoord
protected final double yCoord
protected final java.util.List<FrenchHDRelationship2018Tree> treeList
protected int dateYr
public FrenchHDRelationship2018PlotImpl(java.lang.String id,
double pentInc,
double xCoord,
double yCoord,
boolean hasBeenHarvestedInLast5Years,
int monteCarloId,
double mqdCm,
int dateYr)
id - the id of the plotpentInc - the inclination of the slope in % (for 1% it is 1 and not .01)xCoord - the latitude in geographic coordinatesyCoord - the longitude in geographic coordinateshasBeenHarvestedInLast5Years - a boolean that takes the value of true if the plot was managed in the last five yearsmonteCarloId - the Monte Carlo id if neededmqdCm - the mean quadratic diameter of the plot (cm)dateYr - the current date in yearspublic FrenchHDRelationship2018PlotImpl(java.lang.String id,
double pentInc,
double xCoord,
double yCoord,
boolean hasBeenHarvestedInLast5Years,
double basalAreaM2Ha,
double mqdCm,
int dateYr)
id - the id of the plotpentInc - the inclination of the slope in % (for 1% it is 1 and not .01)xCoord - the latitude in geographic coordinatesyCoord - the longitude in geographic coordinateshasBeenHarvestedInLast5Years - a boolean that takes the value of true if the plot was managed in the last five yearsbasalAreaM2Ha - plot basal area (m2/ha)mqdCm - plot mean quadratic diameter (cm)dateYr - the current date in yearspublic void setDateYr(int dateYr)
dateYr - the date (yr)public java.lang.String getSubjectId()
MonteCarloSimulationCompliantObjectgetSubjectId in interface MonteCarloSimulationCompliantObjectpublic int getMonteCarloRealizationId()
MonteCarloSimulationCompliantObjectgetMonteCarloRealizationId in interface MonteCarloSimulationCompliantObjectpublic double getMeanQuadraticDiameterCm()
MeanQuadraticDiameterCmProvidergetMeanQuadraticDiameterCm in interface MeanQuadraticDiameterCmProviderpublic boolean isInterventionResult()
InterventionResultProviderisInterventionResult in interface InterventionResultProviderpublic double getSlopeInclinationPercent()
SlopeInclinationPercentProvidergetSlopeInclinationPercent in interface SlopeInclinationPercentProviderpublic double getLatitudeDeg()
GeographicalCoordinatesProvidergetLatitudeDeg in interface GeographicalCoordinatesProviderpublic double getLongitudeDeg()
GeographicalCoordinatesProvidergetLongitudeDeg in interface GeographicalCoordinatesProviderpublic double getElevationM()
ElevationMProvidergetElevationM in interface ElevationMProviderpublic double getBasalAreaM2HaMinusThisSubject(HDRelationshipTree tree)
FrenchHDRelationship2018PlotgetBasalAreaM2HaMinusThisSubject in interface FrenchHDRelationship2018Plottree - a FrenchHDRelationship2014Tree instancepublic java.util.Collection<HDRelationshipTree> getTreesForFrenchHDRelationship()
FrenchHDRelationship2018PlotgetTreesForFrenchHDRelationship in interface FrenchHDRelationship2018Plotprotected void addTree(FrenchHDRelationship2018TreeImpl tree)
public int getDateYr()
DateYrProvidergetDateYr in interface DateYrProvider