ECEF(Double, Double, Double) Constructor
Create an ECEF coordinate in kilometers.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public ECEF(
double xc,
double yc,
double zc
)
Parameters
- xc Double
- X coordinate in KM
- yc Double
- Y coordinate in KM
- zc Double
- Z coordinate in KM
ECEF values will be populated from the provided X, Y, Z coordinates.
The following example demonstrates how to create a populated ECEF coordinate.
//Create an ECEF coordinate
ECEF ecef = new ECEF(4089.916, 4089.916, 2679.074);
Console.WriteLine(ecef); 4089.916 km, 4089.916 km, 2679.074 km