Click or drag to resize

InverseDistanceWeightingFunctionDefaultDistanceFunction Method

Calculates the distance between two points.

Namespace: GSF.NumericalAnalysis.Interpolation
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
Syntax
public static double DefaultDistanceFunction(
	double x1,
	double y1,
	double x2,
	double y2
)
View Source

Parameters

x1  Double
The x-coordinate of the first point.
y1  Double
The y-coordinate of the first point.
x2  Double
The x-coordinate of the second point.
y2  Double
The y-coordinate of the second point.

Return Value

Double
See Also