GridInterpolationModel¶
Namespace: ThinkGeo.Core
public abstract class GridInterpolationModel
Inheritance Object → GridInterpolationModel
Methods¶
Interpolate(RectangleShape, GridDefinition)¶
Interpolate a cell according to a given extent and grid definition.
public ValueTuple<double, double> Interpolate(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
InterpolateCore(RectangleShape, GridDefinition)¶
Interpolate a cell according to a given extent and grid definition.
protected abstract 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