Heureka API .NET Documentation
GetSiteIndexFromHeightCurve Method
Example 



The species (group code) for which site index should be calculated for
Current dominant height (m).
The current age (yrs) for the dominant species
If null, then H100 is calculated, except for birch for which H50 is calculated. If a targetAge is passed, this is used instead.
Calculates site index from site index equations (H100m of not stated otherwise) Note that the function handles stands older than 100 years even if H100 is calculated.
Syntax
'Declaration
 
Public Shared Function GetSiteIndexFromHeightCurve( _
   ByVal dominantSpecies As SpeciesGroupCode, _
   ByVal currentDominantHeight As Double, _
   ByVal currentAge As Double, _
   Optional ByVal targetAge As Nullable(Of Double) _
) As Double
'Usage
 
Dim dominantSpecies As SpeciesGroupCode
Dim currentDominantHeight As Double
Dim currentAge As Double
Dim targetAge As Nullable(Of Double)
Dim value As Double
 
value = ApiSiteIndexCalculator.GetSiteIndexFromHeightCurve(dominantSpecies, currentDominantHeight, currentAge, targetAge)

Parameters

dominantSpecies
The species (group code) for which site index should be calculated for
currentDominantHeight
Current dominant height (m).
currentAge
The current age (yrs) for the dominant species
targetAge
If null, then H100 is calculated, except for birch for which H50 is calculated. If a targetAge is passed, this is used instead.
Example
Example 1: Calculate site index H100 for a pine stand with total age 50 and dominant heigth 15.
SpeciesGroupCode sp = SpeciesGroupCode.Pine;
double dh = 15;
double a = 50;
double siteIndex = SiteIndexCalculator.GetSiteIndexFromHeightCurve(sp, dh, a);
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ApiSiteIndexCalculator Class
ApiSiteIndexCalculator Members

Send Feedback