Skip to content

InverseDistanceWeightedGridInterpolationModel

Namespace: ThinkGeo.Core

public class InverseDistanceWeightedGridInterpolationModel : GridInterpolationModel

Inheritance ObjectGridInterpolationModelInverseDistanceWeightedGridInterpolationModel

Properties

Power

public double Power { get; set; }

Property Value

Double

SearchRadius

public double SearchRadius { get; set; }

Property Value

Double

Constructors

InverseDistanceWeightedGridInterpolationModel()

public InverseDistanceWeightedGridInterpolationModel()

InverseDistanceWeightedGridInterpolationModel(Double, Double)

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