Rev 664 | Rev 668 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 664 | Rev 667 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | }
|
59 | }
|
60 | 60 | ||
61 | void Tree::setGrid(FloatGrid* gridToStamp, Grid<HeightGridValue> *dominanceGrid) |
61 | void Tree::setGrid(FloatGrid* gridToStamp, Grid<HeightGridValue> *dominanceGrid) |
62 | {
|
62 | {
|
63 | mGrid = gridToStamp; mHeightGrid = dominanceGrid; |
63 | mGrid = gridToStamp; mHeightGrid = dominanceGrid; |
- | 64 | }
|
|
- | 65 | ||
- | 66 | // calculate the thickness of the bark of the tree
|
|
- | 67 | double Tree::barkThickness() const |
|
- | 68 | {
|
|
- | 69 | return mSpecies->barkThickness(mDbh); |
|
64 | }
|
70 | }
|
65 | 71 | ||
66 | /// dumps some core variables of a tree to a string.
|
72 | /// dumps some core variables of a tree to a string.
|
67 | QString Tree::dump() |
73 | QString Tree::dump() |
68 | {
|
74 | {
|