|   | DistanceFunc Delegate | 
        
        
            Function defintion for calculating the distance between two points.
            
        
        Namespace: GSF.NumericalAnalysis.InterpolationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic delegate double DistanceFunc(
	double x1,
	double y1,
	double x2,
	double y2
)
Public Delegate Function DistanceFunc ( 
	x1 As Double,
	y1 As Double,
	x2 As Double,
	y2 As Double
) As Double
public delegate double DistanceFunc(
	double x1, 
	double y1, 
	double x2, 
	double y2
)
type DistanceFunc = 
    delegate of 
        x1 : float * 
        y1 : float * 
        x2 : float * 
        y2 : float -> floatfunction(x1, y1, x2, 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
DoubleThe distance between the two given points.
 See Also
See Also