Click or drag to resize

DistanceFunc Delegate

Function defintion for calculating the distance between two points.

Namespace: GSF.NumericalAnalysis.Interpolation
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public delegate double DistanceFunc(
	double x1,
	double y1,
	double x2,
	double y2
)

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
The distance between the two given points.
See Also