GetLatLonHgtFromAxes Method
Description
Gets the latitude, longitude and height above sea-level of an (x,y,z) position.
Syntax
Visual Basic |
---|
Public Function GetLatLonHgtFromAxes( _ ByVal x As Double, _ ByVal y As Double, _ ByVal z As Double, _ ByVal datum As String _ ) As String |
Parameters
- x
- The x coordinate position within the current axes.
- y
-
The y coordinate position within the current axes.
- z
-
The z coordinate position within the current axes.
- datum
-
The named Geodetic Datum to use. This can be any named Geodetic Datum previously created using DefineNolDatum, or loaded from a Named Object Library (NOL).
Return Type
A comma-delimited string containing the latitude, longitude (both in degrees) and height of the given position in the given Geodetic Datum. Use SplitPos to get the latitude, longitude and height values themselves.
Remarks
Available: GEO D OD OM OV SISpy
Group:
Example
sis.LatLonHgtFromAxes (100, 100, 0, "OGC.WGS_1984")