fHtmEq(ra,dec) returns the 20-deep HtmID of the given equatorial point.
There are no error cases. all RA, folded to [0..360] and dec to [-90...90]
Namespace: Spherical.HtmThere are no error cases. all RA, folded to [0..360] and dec to [-90...90]
Assembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static long fHtmEq( double ra, double dec ) |
Visual C++ |
---|
public: static long long fHtmEq( double ra, double dec ) |
F# |
---|
static member fHtmEq : ra:float * dec:float -> int64 |
Parameters
- ra
- Type: System..::..Double
double, right ascencion coordinate (degrees)
- dec
- Type: System..::..Double
double, declination coordinate (degrees)
Return Value
HtmID: Int64 20-deep HTM id of the pointExamples
CopyC#
create function fHtmEq(@ra float, @dec float ) returns bigint as external name HTM.Sql.fHtmEq declare @HtmID bigint select @HtmID = dbo.fHtmEq(195,5) --