Skip to content

InverseDistanceWeightedGridInterpolationModel

Namespace: ThinkGeo.Core

Represents the InverseDistanceWeightedGridInterpolationModel class.

public class InverseDistanceWeightedGridInterpolationModel : GridInterpolationModel

Inheritance objectGridInterpolationModelInverseDistanceWeightedGridInterpolationModel

Properties

Power

Gets or sets the Power.

public double Power { get; set; }

Property Value

double

SearchRadius

Gets or sets the SearchRadius.

public double SearchRadius { get; set; }

Property Value

double

Constructors

InverseDistanceWeightedGridInterpolationModel()

Initializes a new instance of the InverseDistanceWeightedGridInterpolationModel class.

public InverseDistanceWeightedGridInterpolationModel()

InverseDistanceWeightedGridInterpolationModel(double, double)

Initializes a new instance of the InverseDistanceWeightedGridInterpolationModel class.

public InverseDistanceWeightedGridInterpolationModel(double power, double searchRadius)

Parameters

power double

searchRadius double

Methods

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