Set [VarioComponent]
The Set method sets the parameters for this variogram component.
Syntax
object.Set( VarioType, Param1, Param2, Power, AnisotropyRatio, AnisotropyAngle )
Parameter |
Type |
Required/ Optional |
Default |
Description |
VarioType |
Required |
This specifies the variogram model. It allows you to select one of the variogram model components. |
||
Param1 |
Double |
Required |
1.0 |
This provides the vertical scale or Scale, for Exponential, Gaussian, Logarithmic, Quadratic, Rational Quadratic, Spherical, Wave (Hole Effect), Cubic, or Pentaspherical models. If srfVarioType is set to srfVarNugget (Nugget effect), this parameter specifies the Error Variance. |
Param2 |
Double |
Required |
1.0 |
This provides the horizontal range or Length, for Exponential, Gaussian, Logarithmic, Quadratic, Rational Quadratic, Spherical, Wave (Hole Effect), Cubic, or Pentaspherical models. If srfVarioType is set to srfVarNugget (Nugget effect), this parameter specifies the Micro Variance. |
Power |
Double |
Optional |
1.0 |
This specifies the Power if srfVarioType is set to srfVarPower. |
AnisotropyRatio |
Double |
Optional |
1.0 |
This provides the anisotropy ratio. Not used for nugget effect. |
AnisotropyAngle |
Double |
Optional |
0.0 |
This provides the anisotropy angle. Not used for nugget effect. |
Example
This example demonstrates how to change the anisotropy angle to 102 while keeping the other parameters unchanged. When you change the Anisotropy Angle, you also have to change the Anisotropy Ratio. The Ratio is the ratio between the X and Y directions. A Ratio of 1 (the default) means that the X and Y directions are the same and so you get a circle.
|
With VarioComponent
.Set(VarioType:=srfVarNugget, Param1:=0, Param2:=2, AnisotropyRatio:=2, AnisotropyAngle:=102)
End With
Used by: VarioComponent object