LatLonTable(lat,lon) fHtmXyzToLatLon(x,y,z) converts the cartesian point (x,y,z)
to a table with one row containing the equivalent lat,lon point
Namespace: Spherical.HtmAssembly: SphericalHtm (in SphericalHtm.dll) Version: 1.0.0.0
Syntax
C# |
---|
public static IEnumerable fHtmXyzToLatLon( SqlDouble x, SqlDouble y, SqlDouble z ) |
Visual C++ |
---|
public: static IEnumerable^ fHtmXyzToLatLon( SqlDouble x, SqlDouble y, SqlDouble z ) |
F# |
---|
static member fHtmXyzToLatLon : 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 LatLonTable(lat float, lon float)with a row contining the (lat, lon) of the cartesian xyz point.
Examples
CopyC#
create function fHtmXyzToEq(x float, y float, z float) returns LatLonTable(lat float, lon float) as external name HTM.Sql.fHtmXyzToLatLon select * from fHtmXyzToLatLon(1,0,0)