Subversion Repositories public iLand

Rev

Rev 269 | Rev 281 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 269 Rev 280
Line 28... Line 28...
28
    // properties
28
    // properties
29
    int index() const { return mIndex; }
29
    int index() const { return mIndex; }
30
    const QRectF &boundingBox() const { return mBoundingBox; }
30
    const QRectF &boundingBox() const { return mBoundingBox; }
31
    double area() const { return mPixelCount*100; } ///< get the resuorce unit area in m2
31
    double area() const { return mPixelCount*100; } ///< get the resuorce unit area in m2
32
    double stockedArea() const { return mStockedArea; } ///< get the stocked area in m2
32
    double stockedArea() const { return mStockedArea; } ///< get the stocked area in m2
-
 
33
    double productiveArea() const { return mEffectiveArea; } ///< TotalArea - Unstocked Area - loss due to BeerLambert (m2)
33
34
34
    // actions
35
    // actions
35
    /// returns a modifiable reference to a free space inside the tree-vector. should be used for tree-init.
36
    /// returns a modifiable reference to a free space inside the tree-vector. should be used for tree-init.
36
    Tree &newTree();
37
    Tree &newTree();
37
    /// addWLA() is called by each tree to aggregate the total weighted leaf area on a unit
38
    /// addWLA() is called by each tree to aggregate the total weighted leaf area on a unit