ECEFECEFToLatLong(ECEF) Method
Returns a Geodetic Coordinate object based on the provided ECEF coordinate.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static Coordinate ECEFToLatLong(
ECEF ecef
)
- ecef ECEF
- ECEF Coordinate
CoordinateCoordinate
The following example creates (converts to) a geodetic Coordinate object based on an ECEF object.
ECEF ecef = new ECEF(4090.877, 4090.877, 2679.708);
Coordinate c = ECEF.ECEFToLatLong(ecef);
Console.WriteLine(c); //N 24º 59' 59.986" E 45º 0' 0"
Console.WriteLine(c.ECEF.GeoDetic_Height.Meters); //1499.97912820436