NewVarioComponent

NewVarioComponent creates a variogram component object. Returns a VarioComponent object.

Syntax

object.NewVarioComponent( VarioType, Param1, Param2, Power, AnisotropyRatio, AnisotropyAngle )

Parameter

Type

Required/

Optional

Default

Description

VarioType

SrfVarioType

Required

This specifies the variogram model. It allows you to select one of the variogram model components.

Param1

Double

Optional

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.

If srfVarioType is set to srfVarLinear(Linear), this parameter specifies the Slope.

Param2

Double

Optional

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 1

This example demonstrates how to create a linear variogram component.

Dim LinearVariogramComponent As Object

Set LinearVariogramComponent = SurferApp.NewVarioComponent(VarioType:= srfVarLinear)

Example 2

This script displays all the methods in the Application object.

Used by: Application object