Skip to content

KrigingGridInterpolationModel

Namespace: ThinkGeo.Core

Represents the KrigingGridInterpolationModel class.

public abstract class KrigingGridInterpolationModel : GridInterpolationModel

Inheritance ObjectGridInterpolationModelKrigingGridInterpolationModel

Properties

Points

Gets or sets the Points.

public Dictionary<PointShape, double> Points { get; }

Property Value

Dictionary<PointShape, Double>

NumberOfReferencedPoints

Gets or sets the NumberOfReferencedPoints.

public int NumberOfReferencedPoints { get; set; }

Property Value

Int32

Methods

GetSemivariance(Double, EmpiricalFunctionCoefficients)

Returns semivariance for the specified parameters.

public double GetSemivariance(double distance, EmpiricalFunctionCoefficients coefficients)

Parameters

distance Double
The distance.

coefficients EmpiricalFunctionCoefficients
The coefficients.

Returns

Double
The result of the operation.

GetEmpiricalFunctionCoefficients(Int32, Double[,], Double[,], Double)

Returns empirical function coefficients for the specified parameters.

public EmpiricalFunctionCoefficients GetEmpiricalFunctionCoefficients(int numberOfPoints, Double[,] distance, Double[,] semivariances, double maxRange)

Parameters

numberOfPoints Int32
The number of points.

distance Double[,]
The distance.

semivariances Double[,]
The semivariances.

maxRange Double
The max range.

Returns

EmpiricalFunctionCoefficients
The result of the operation.

InterpolateCore(RectangleShape, GridDefinition)

Interpolate a cell according to a given extent and grid definition.

protected ValueTuple<double, double> InterpolateCore(RectangleShape cellExtent, GridDefinition gridDefinition)

Parameters

cellExtent RectangleShape
the extent of the cell to interpolate

gridDefinition GridDefinition
the grid definition to interpolate

Returns

ValueTuple<Double, Double>
The value and the weight. of the cell

GetSemivarianceCore(Double, EmpiricalFunctionCoefficients)

Provides the overridable implementation that returns semivariance for the specified parameters.

protected double GetSemivarianceCore(double distance, EmpiricalFunctionCoefficients coefficients)

Parameters

distance Double
The distance.

coefficients EmpiricalFunctionCoefficients
The coefficients.

Returns

Double
The result of the operation.

GetSillSlope(Double, Double)

Returns sill slope for the specified parameters.

protected double GetSillSlope(double distance, double range)

Parameters

distance Double
The distance.

range Double
The range.

Returns

Double
The result of the operation.

GetSillSlopeCore(Double, Double)

Provides the overridable implementation that returns sill slope for the specified parameters.

protected abstract double GetSillSlopeCore(double distance, double range)

Parameters

distance Double
The distance.

range Double
The range.

Returns

Double
The result of the operation.

GetEmpiricalFunctionCoefficientsCore(Int32, Double[,], Double[,], Double)

Provides the overridable implementation that returns empirical function coefficients for the specified parameters.

protected EmpiricalFunctionCoefficients GetEmpiricalFunctionCoefficientsCore(int points, Double[,] distance, Double[,] semivariances, double maxRange)

Parameters

points Int32
The points.

distance Double[,]
The distance.

semivariances Double[,]
The semivariances.

maxRange Double
The max range.

Returns

EmpiricalFunctionCoefficients
The result of the operation.