프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 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 |