double fDistanceEq(ra1,dec1,ra2,dec2)
returns distance in ArcMinutes between two points.
Namespace: Spherical.HtmAssembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static SqlDouble fDistanceEq( double ra1, double dec1, double ra2, double dec2 ) |
Visual C++ |
---|
public: static SqlDouble fDistanceEq( double ra1, double dec1, double ra2, double dec2 ) |
F# |
---|
static member fDistanceEq : ra1:float * dec1:float * ra2:float * dec2:float -> SqlDouble |
Parameters
- ra1
- Type: System..::..Double
double, right ascencion coordinate (degrees)
- dec1
- Type: System..::..Double
double, declination coordinate (degrees)
- ra2
- Type: System..::..Double
double, right ascencion coordinate (degrees)
- dec2
- Type: System..::..Double
double, declination coordinate (degrees)
Return Value
double distance in arc minutes.Examples
CopyC#
create function fDistanceEq(@ra1 float, @dec1 float, @ra2 float, @dec2 float) returns float as external name HTM.Sql.fDistanceEq select dbo.fDistanceEq(0,0,30,30)