ECEFECEFToLatLong(ECEF) Method

Returns a Geodetic Coordinate object based on the provided ECEF coordinate.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static Coordinate ECEFToLatLong(
	ECEF ecef
)

Parameters

ecef  ECEF
ECEF Coordinate

Return Value

Coordinate
Coordinate

Example

The following example creates (converts to) a geodetic Coordinate object based on an ECEF object.
C#
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

See Also