CartesianCartesianToLatLong(Double, Double, Double, EagerLoad) Method

Returns a geodetic Coordinate object based on the provided Cartesian coordinate X, Y, Z values.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.3.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static Coordinate CartesianToLatLong(
	double x,
	double y,
	double z,
	EagerLoad el
)

Parameters

x  Double
X
y  Double
Y
z  Double
Z
el  EagerLoad
EagerLoad

Return Value

Coordinate
Coordinate

Example

The following example creates (converts to) a geodetic Coordinate object based on spherical Cartesian X, Y, Z values with eager loading turned off.
C#
Coordinate c = Cartesian.CartesianToLatLong(0.64085638, 0.64085638, 0.42261826, new EagerLoad(false));        
Console.WriteLine(c); //N 24º 59' 60" E 45º 0' 0"

See Also