CartesianCartesianToLatLong(Cartesian, EagerLoad) Method
Returns a geodetic Coordinate object based on the provided Cartesian coordinate.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.3.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static Coordinate CartesianToLatLong(
Cartesian cart,
EagerLoad el
)
- cart Cartesian
- Cartesian Coordinate
- el EagerLoad
- EagerLoad
CoordinateCoordinate
The following example creates (converts to) a geodetic Coordinate object based on a spherical Cartesian object with eager loading turned off.
Cartesian cart = new Cartesian(0.64085638, 0.64085638, 0.42261826);
Coordinate c = Cartesian.CartesianToLatLong(cart, new EagerLoad(false));
Console.WriteLine(c); //N 24º 59' 60" E 45º 0' 0"