double fDistanceXyz(x1,y1,z1,x2,y2,z2) returns distance in ArcMinutes between two points.

Namespace: Spherical.Htm
Assembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0

Syntax

C#
public static SqlDouble fDistanceXyz(
	double x1,
	double y1,
	double z1,
	double x2,
	double y2,
	double z2
)
Visual C++
public:
static SqlDouble fDistanceXyz(
	double x1, 
	double y1, 
	double z1, 
	double x2, 
	double y2, 
	double z2
)
F#
static member fDistanceXyz : 
        x1:float * 
        y1:float * 
        z1:float * 
        x2:float * 
        y2:float * 
        z2:float -> SqlDouble 

Parameters

x1
Type: System..::..Double
double, first x Cartesian coordinate
y1
Type: System..::..Double
double, first y Cartesian coordinate
z1
Type: System..::..Double
double, first z Cartesian coordinate
x2
Type: System..::..Double
double, second x Cartesian coordinate
y2
Type: System..::..Double
double, second y Cartesian coordinate
z2
Type: System..::..Double
double, second z Cartesian coordinate

Return Value

double distance in arc minutes.

Examples

CopyC#
create function fDistanceXyz(@x1 float, @y1 float, @z1 float, 
                             @x2 float, @y2 float, @z2 float) 
        returns float
             as external name HTM.Sql.fDistanceXyz
select dbo.fDistanceXyz(0,0,0,0,0,1)

See Also