Click or drag to resize

InverseDistanceWeightingFunction Class

Represents a function for calculating values at given coordinates based on sparse data sets.
Inheritance Hierarchy
SystemObject
  GSF.NumericalAnalysis.InterpolationInverseDistanceWeightingFunction

Namespace: GSF.NumericalAnalysis.Interpolation
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class InverseDistanceWeightingFunction
View Source

The InverseDistanceWeightingFunction type exposes the following members.

Constructors
 NameDescription
Public methodInverseDistanceWeightingFunction Creates a new instance of the InverseDistanceWeightingFunction class.
Top
Properties
 NameDescription
Public propertyDistanceFunction Gets the function to be used to calculate the distance between two points.
Public propertyPower Gets the power applied to the inverse distance to control the speed of value's decay.
Public propertyValues Gets the collection of values of points at which the values are known.
Public propertyXCoordinates Gets the collection of x-coordinates of points at which the values are known.
Public propertyYCoordinates Gets the collection of y-coordinates of points at which the values are known.
Top
Methods
 NameDescription
Public methodStatic memberDefaultDistanceFunction Calculates the distance between two points.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetDistanceFunction Sets the function to be used to calculate the distance between two points.
Public methodSetPower Sets the power applied to the inverse distance to control the speed of value's decay.
Public methodSetValues Sets the collection of values of points at which the values are known.
Public methodSetXCoordinates Sets the collection of x-coordinates of points at which the values are known.
Public methodSetYCoordinates Sets the collection of y-coordinates of points at which the values are known.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Operators
 NameDescription
Public operatorStatic member(InverseDistanceWeightingFunction to IDWFunc) Converts the InverseDistanceWeightingFunction object to an IDWFunc to start converting values.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
Usage is similar to the PiecewiseLinearFunction class.
See Also