returns distance (arcmins) between two points (x1,y1,z1) and (x2,y1,z2) |
x1,y1,z1 and x2,y2,z2 are cartesian unit vectors select top 10 objid, dbo.fDistanceXyz(1,0,0,cx,cy,cz) from PhotoObj |
name | type | length | inout | pnum |
float | 8 | input | 0 | |
@x1 | float | 8 | input | 1 |
@y1 | float | 8 | input | 2 |
@z1 | float | 8 | input | 3 |
@x2 | float | 8 | input | 4 |
@y2 | float | 8 | input | 5 |
@z2 | float | 8 | input | 6 |