Slu.Heureka.DomainLayer.Forest Namespace > Tree Class > CreateSapling Method : CreateSapling(PredictionUnit,SpeciesGroupCode,Double,Double,TreeType,TreeCategoryType,TreeOrigin,Boolean) Method |
'Declaration
Public Overloads Shared Function CreateSapling( _ ByVal p As PredictionUnit, _ ByVal speciesGroup As SpeciesGroupCode, _ ByVal height As Double, _ ByVal stems As Double, _ ByVal treeType As TreeType, _ ByVal treeCategory As TreeCategoryType, _ Optional ByVal treeOrigin As TreeOrigin, _ Optional ByVal databaseOrigin As Boolean _ ) As Tree
'Usage
Dim p As PredictionUnit Dim speciesGroup As SpeciesGroupCode Dim height As Double Dim stems As Double Dim treeType As TreeType Dim treeCategory As TreeCategoryType Dim treeOrigin As TreeOrigin Dim databaseOrigin As Boolean Dim value As Tree value = Tree.CreateSapling(p, speciesGroup, height, stems, treeType, treeCategory, treeOrigin, databaseOrigin)
public static Tree CreateSapling( PredictionUnit p, SpeciesGroupCode speciesGroup, double height, double stems, TreeType treeType, TreeCategoryType treeCategory, TreeOrigin treeOrigin, bool databaseOrigin )
public: static Tree^ CreateSapling( PredictionUnit^ p, SpeciesGroupCode speciesGroup, double height, double stems, TreeType treeType, TreeCategoryType treeCategory, TreeOrigin treeOrigin, bool databaseOrigin )
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