fHtmCoverCircleXyz(x,y,z,radiusArcMin) returns a trixel table (a list) covering
the circle centered at that x,y,z, 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 fHtmCoverCircleXyz(
	SqlDouble x,
	SqlDouble y,
	SqlDouble z,
	SqlDouble radiusArcMin
)
Visual C++
public:
static IEnumerable^ fHtmCoverCircleXyz(
	SqlDouble x, 
	SqlDouble y, 
	SqlDouble z, 
	SqlDouble radiusArcMin
)
F#
static member fHtmCoverCircleXyz : 
        x:SqlDouble * 
        y:SqlDouble * 
        z:SqlDouble * 
        radiusArcMin:SqlDouble -> IEnumerable 

Parameters

x
Type: System.Data.SqlTypes..::..SqlDouble
double, x Cartesian coordinate of centerpoint
y
Type: System.Data.SqlTypes..::..SqlDouble
double, y Cartesian coordinate of centerpoint
z
Type: System.Data.SqlTypes..::..SqlDouble
double, z Cartesian coordinate of centerpoint
radiusArcMin
Type: System.Data.SqlTypes..::..SqlDouble
double, radius in arcminutes

Return Value

IEnummerable TrixelTable(HtmIDStart bigint, HtmIDend bigint)

Examples

CopyC#
create function fHtmCoverCircleXyz(@x float, @y float, @z float, @radiusArcMin float) 
        returns bigint 
        as external name HTM.Sql.fHtmCoverCircleXyz
declare @HtmID bigint
select * from fHtmCoverCircleXyz(1,0,0,1)

See Also