fHtmCoverCircleLatLon(ra,dec,radiusArcMin) returns a trixel table (a list) covering
the circle centered at that lat,lon, within that arc-minute radius.
A trixel table is a list of HtmIDStart,HtmIDEnd pairs that describe
the HTM triangles (all points of a triangle are between its HtmIDStart and HtmIDEnd.

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

Syntax

C#
public static IEnumerable fHtmCoverCircleLatLon(
	SqlDouble lat,
	SqlDouble lon,
	SqlDouble radiusArcMin
)
Visual C++
public:
static IEnumerable^ fHtmCoverCircleLatLon(
	SqlDouble lat, 
	SqlDouble lon, 
	SqlDouble radiusArcMin
)
F#
static member fHtmCoverCircleLatLon : 
        lat:SqlDouble * 
        lon:SqlDouble * 
        radiusArcMin:SqlDouble -> IEnumerable 

Parameters

lat
Type: System.Data.SqlTypes..::..SqlDouble
double, latitude of centerpoint (degrees)
lon
Type: System.Data.SqlTypes..::..SqlDouble
double, longitude of centerpoint (degrees)
radiusArcMin
Type: System.Data.SqlTypes..::..SqlDouble
double, radius in arcminutes

Return Value

IEnummerable(HtmIDStart bigint, HtmIDend bigint)

Examples

CopyC#
create function fHtmCoverCircleLatLon(@lat float, @lon float, @radiusArcMin float) 
        returns bigint 
        as external name HTM.Sql.fHtmCoverCircleLatLon
select * from fHtmCoverCircLatLon(5,195,1)

See Also