XyzTable(x,y,z) fHtmEqToXyz(ra, dec) converts an equitorial point to a table with one row containing the cartesian point (x,y,z)

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

Syntax

C#
public static IEnumerable fHtmEqToXyz(
	SqlDouble ra,
	SqlDouble dec
)
Visual C++
public:
static IEnumerable^ fHtmEqToXyz(
	SqlDouble ra, 
	SqlDouble dec
)
F#
static member fHtmEqToXyz : 
        ra:SqlDouble * 
        dec:SqlDouble -> IEnumerable 

Parameters

ra
Type: System.Data.SqlTypes..::..SqlDouble
double, right ascencion coordinate (degrees)
dec
Type: System.Data.SqlTypes..::..SqlDouble
double, declination coordinate (degrees)

Return Value

IEnummerable VertexTable(x float, y float, z float)
with a row contining the (x,y,z) of a ra,dec point.

Examples

CopyC#
create function fHtmEqXyz(lat float, lon float) 
        returns VertexTable(x float, y float, z float) 
             as external name HTM.Sql.fHtmEqToXyz
select * from  fHtmEqToXyz(115, 38)

See Also