ECEF(Double, Double, Double) Constructor

Create an ECEF coordinate in kilometers.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
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

Remarks

ECEF values will be populated from the provided X, Y, Z coordinates.

Example

The following example demonstrates how to create a populated ECEF coordinate.
C#
//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

See Also