Свойство | Тип | Описание | |
---|---|---|---|
basalArea | float | ||
cutType | CutType | ||
diameterLimit | int | ||
diameterLimitCutDirection | DiameterLimitCutDirection | ||
ids | int[] | ||
qRatio | float |
Метод | Описание | |
---|---|---|
ComputeCenterPoint ( ) : IEnumerator |
Computes the center point based on the bounds of the tile positions.
|
|
ComputeTreesToBeCut ( int frequencyDistribution, float qRatioCurve, int &treesToCut, int &treesToKeep ) : void |
Computes the trees to be cut.
|
|
ComputeTreesToBeCut ( int frequencyDistribution, int diameterLimit, DiameterLimitCutDirection direction, int &treesToCut, int &treesToKeep ) : void |
Computes the trees to be cut.
|
|
DoIt ( ) : IEnumerator |
Execute the harvest
|
|
GetDoItWWW ( ) : |
Gets a WWW object do perform the harvest, configured for the associated api point on the server.
|
|
GetPartialSelectionCurve ( float qRatio, float basalArea ) : float[] |
Gets the partial selection curve. This method replicates the math in partial_selection_curve in tree_harvesting.rb. |
|
Harvest ( int ids, int duration ) : UnityEngine |
Initializes a new instance of the Harvest struct for a clearcut.
|
|
Harvest ( int ids, int duration, float qRatio, float targetBasalArea ) : UnityEngine |
Initializes a new instance of the Harvest struct for a q ratio cut.
|
|
Harvest ( int ids, int duration, int diameterLimit, DiameterLimitCutDirection cutDirection ) : UnityEngine |
Initializes a new instance of the Harvest struct for a diameter limit cut.
|
|
ToString ( ) : string |
Returns a System.String that represents the current Harvest.
|
public ComputeCenterPoint ( ) : IEnumerator | ||
Результат | IEnumerator |
public static ComputeTreesToBeCut ( int frequencyDistribution, float qRatioCurve, int &treesToCut, int &treesToKeep ) : void | ||
frequencyDistribution | int | /// Frequency distribution. /// |
qRatioCurve | float | |
treesToCut | int | /// Trees to cut. /// |
treesToKeep | int | /// Trees to keep. /// |
Результат | void |
public static ComputeTreesToBeCut ( int frequencyDistribution, int diameterLimit, DiameterLimitCutDirection direction, int &treesToCut, int &treesToKeep ) : void | ||
frequencyDistribution | int | /// Frequency distribution. /// |
diameterLimit | int | /// Diameter limit. /// |
direction | DiameterLimitCutDirection | /// Direction of the diameter limit cut. /// |
treesToCut | int | /// Trees to cut. /// |
treesToKeep | int | /// Trees to keep. /// |
Результат | void |
public static GetPartialSelectionCurve ( float qRatio, float basalArea ) : float[] | ||
qRatio | float | /// Q ratio. /// |
basalArea | float | /// Basal area. /// |
Результат | float[] |
public Harvest ( int ids, int duration ) : UnityEngine | ||
ids | int | /// Identifiers. /// |
duration | int | /// Duration. /// |
Результат | UnityEngine |
public Harvest ( int ids, int duration, float qRatio, float targetBasalArea ) : UnityEngine | ||
ids | int | /// Identifiers. /// |
duration | int | /// Duration. /// |
qRatio | float | /// Q ratio. /// |
targetBasalArea | float | /// Target basal area. /// |
Результат | UnityEngine |
public Harvest ( int ids, int duration, int diameterLimit, DiameterLimitCutDirection cutDirection ) : UnityEngine | ||
ids | int | /// Identifiers. /// |
duration | int | /// Duration. /// |
diameterLimit | int | /// Diameter limit. /// |
cutDirection | DiameterLimitCutDirection | /// Cut direction. /// |
Результат | UnityEngine |
public DiameterLimitCutDirection diameterLimitCutDirection | ||
Результат | DiameterLimitCutDirection |