EqTable(ra, dec) fHtmXyzToEq(x,y,z) converts the cartesian point (x,y,z) to a table with one row containing the equivalent equitorial (ra,dec) point

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

Syntax

C#
public static IEnumerable fHtmXyzToEq(
	SqlDouble x,
	SqlDouble y,
	SqlDouble z
)
Visual C++
public:
static IEnumerable^ fHtmXyzToEq(
	SqlDouble x, 
	SqlDouble y, 
	SqlDouble z
)
F#
static member fHtmXyzToEq : 
        x:SqlDouble * 
        y:SqlDouble * 
        z:SqlDouble -> IEnumerable 

Parameters

x
Type: System.Data.SqlTypes..::..SqlDouble
double, unit vector cartesian "x"
y
Type: System.Data.SqlTypes..::..SqlDouble
double, unit vector cartesian "x"
z
Type: System.Data.SqlTypes..::..SqlDouble
double, unit vector cartesian "x"

Return Value

IEnummerable EqTable(ra float, dec float)
with a row contining the (ra, dec) of the cartesian xyz point.

Examples

CopyC#
create function fHtmXyzToEq(x float, y float, z float) 
           returns EqTable(ra float, dec float) 
                as external name HTM.Sql.fHtmXyzToEq
   select * from  fHtmXyzToEq(1,0,0)

See Also

converts ra, dec to xyz.