FUNCTION  fDistanceArcMinXYZ

returns distance (arc minutes) between two points (x1,y1,z1) and (x2,y2,z2)


the two points are on the unit sphere
select top 10 objid, dbo.fDistanceArcMinXYZ(1,0,0,cx,cy,cz) from PhotoObj

Input and output parameters

nametypelengthinoutpnum
 float8input0
@nx1float8input1
@ny1float8input2
@nz1float8input3
@nx2float8input4
@ny2float8input5
@nz2float8input6