|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--stand
TreeGrOSS : class stand defines the forest stand information. This is the major class for several other classes of this package http://treegross.sourceforge.net
| Field Summary | |
(package private) double |
bha
Number of trees, basal area |
(package private) double |
bhaout
Number of trees, basal area thinned |
(package private) double |
bhatotal
total number of stems, basal area |
(package private) corners[] |
cpnt
array for the corner points of the stand area max. 30 |
(package private) int |
i
|
(package private) int |
ncpnt
number of corner points |
(package private) double |
nha
Number of trees, basal area |
(package private) double |
nhaout
Number of trees, basal area thinned |
(package private) double |
nhatotal
total number of stems, basal area |
(package private) int |
nspecies
number existing species |
(package private) int |
ntrees
number of trees |
(package private) double |
size
stand size |
(package private) int |
sizeoftr
|
(package private) species[] |
sp
array for species information max. 30 |
(package private) java.lang.String |
standname
name of the forest stand |
(package private) tree[] |
tr
Maximum 2000 trees of the stand |
(package private) int |
year
starting year or year of simualtion |
| Constructor Summary | |
stand()
|
|
| Method Summary | |
(package private) void |
addcornerpoint(java.lang.String no,
double x,
double y,
double z)
addcorner points |
(package private) void |
addName(java.lang.String na)
add stand name to object |
(package private) void |
addsize(double ha)
initialize stand area size (ha) |
(package private) void |
addtree(int co,
java.lang.String num,
int age,
int out,
double d,
double h,
double cb,
double cw,
double si,
double x,
double y,
double z,
int zb)
add a tree to the stand |
(package private) double |
area()
st.area calculates the stand size according to the corner points |
(package private) void |
descspecies()
calculates the species values on a stand level |
(package private) double |
getDmax(int spe)
get dmax by of residual trees |
(package private) double |
getVha(int spe)
get volume return the total volume (code=0) or species volume |
(package private) double |
getVhaResidual(int spe)
get volume by of residual trees |
(package private) double |
getVhaTargetDiameter(int spe)
get volume harvested by target diameter of this year |
(package private) double |
getVhaThinning(int spe)
get volume by thinning of this year |
(package private) void |
grow(int period,
boolean regenGrowth)
st.grow starts a growth cycle for the class stand, expects an integer for the number of years of one growing cycle. |
(package private) void |
initspecies()
detect species and initialize tree species |
(package private) double |
overlap(double r1,
double r2,
double e)
calculate overlap area of two circle only if they overlap |
(package private) void |
sortbyd()
sort trees by d |
(package private) void |
sortbyy()
sort trees by y-coordinate, this is for the graphical display |
(package private) void |
standinfo()
total stand information resp. total stand values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int ntrees
int nspecies
int ncpnt
java.lang.String standname
double size
double nha
double bha
double nhaout
double bhaout
double nhatotal
double bhatotal
int year
int i
tree[] tr
species[] sp
corners[] cpnt
int sizeoftr
| Constructor Detail |
public stand()
| Method Detail |
void addtree(int co,
java.lang.String num,
int age,
int out,
double d,
double h,
double cb,
double cw,
double si,
double x,
double y,
double z,
int zb)
void addName(java.lang.String na)
void addsize(double ha)
void addcornerpoint(java.lang.String no,
double x,
double y,
double z)
void sortbyd()
void sortbyy()
void standinfo()
double getVha(int spe)
double getVhaTargetDiameter(int spe)
double getVhaThinning(int spe)
double getVhaResidual(int spe)
double getDmax(int spe)
void initspecies()
void descspecies()
void grow(int period,
boolean regenGrowth)
double area()
double overlap(double r1,
double r2,
double e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||