Convert Ra, Dec to Cartesian coordinates (x, y, z) |
Parameters: Returns single row table containing the vector (x, y, z) select * from dbo.fHtmEqToXyz(-180.0, 0.0) gives: x y z -1 0 0 |
name | type | length | inout | pnum |
@ra | float | 8 | input | 1 |
@dec | float | 8 | input | 2 |
x | float | 8 | output | 1 |
y | float | 8 | output | 2 |
z | float | 8 | output | 3 |