VarioComponent Object
The VarioComponent object encapsulates the parameters for a single variogram component. One or more variogram components are combined to form a variogram model. VarioComponents are created by the Application.NewVarioComponent method.
The following table provides all properties of the VarioComponent object. All these properties are read only.
Property |
Description |
Returns the anisotropy angle in degrees (not used for nugget). |
|
Returns the anisotropy ratio (not used for nugget). |
|
Returns the application object. |
|
Returns the lower autofit limit for the specified parameter. |
|
Returns the scale, slope for linear variogram, or error variance for nugget. |
|
Returns the length (micro variance for nugget). |
|
Returns the parent object. |
|
Returns the power used (power component only). |
|
Returns the component type. |
|
Returns the upper autofit limit for the specified parameter. |
Following table provides all methods of the VarioComponent object:
Method |
Description |
Sets the parameters for this variogram component. |
|
Sets the autofit parameter limits. |
Example
The following script demonstrates how the VarioComponent object is used in reference to the Application object.
Sub Main
'Declares SurferApp as an object
Dim SurferApp As Object
'Creates an instance of the Surfer Application object and assigns it
'to the variable named "SurferApp"
Set SurferApp = CreateObject("Surfer.Application")
'Makes Surfer visible
SurferApp.Visible = True
'Declares VarioComponent as an object
Dim VarioComponent As Object
'Creates a single variogram component and assigns it to the variable
'named "VarioComponent"
Set VarioComponent = SurferApp.NewVarioComponent(srfVarPower, Power:=1.2, _
AnisotropyRatio:=5, AnisotropyAngle:=35)
End Sub