Package llnl.gnem.core.geom
Class ECEFCoordinate
java.lang.Object
llnl.gnem.core.geom.CartesianCoordinate
llnl.gnem.core.geom.ECEFCoordinate
- All Implemented Interfaces:
Coordinate<CartesianCoordinate>
Represents a point in the Earth-Centered Earth-Fixed Coordinate System
"ECEF ("Earth-Centered, Earth-Fixed"), also known as ECR ("Earth Centered
Rotational"), is a geographic coordinate system and Cartesian coordinate
system, and is sometimes known as a "conventional terrestrial" system.[1] It
represents positions as an X, Y, and Z coordinate. The point (0,0,0) is
defined as the center of mass of the Earth,[2] hence the name Earth-Centered.
Its axes are aligned with the International Reference Pole (IRP) and
International Reference Meridian (IRM) that are fixed with respect to the
surface of the Earth,[3][4] hence the name Earth-Fixed. This term can cause
confusion since the Earth does not rotate about the z-axis (unlike an
inertial system such as ECI), and is therefore alternatively called ECR.
The z-axis is pointing towards the north but it does not coincide exactly
with the instantaneous Earth rotational axis.[3] The slight "wobbling" of the
rotational axis is known as polar motion.[5] The x-axis intersects the sphere
of the Earth at 0° latitude (Equator) and 0° longitude (Greenwich). This
means that ECEF rotates with the earth and therefore, coordinates of a point
fixed on the surface of the earth do not change. Conversion from a WGS84
Datum to ECEF can be used as an intermediate step in converting velocities to
the North East Down coordinate system." https://en.wikipedia.org/wiki/ECEF
{ @link
http://www.springer.com/cda/content/document/cda_downloaddocument/9780857296344-c2.pdf?SGWID=0-0-45-1143141-p174116371
} { @link https://en.wikipedia.org/wiki/ECEF } { @link
https://en.wikipedia.org/wiki/Geographic_coordinate_conversion }
- Author:
- maganazook1
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final double
static final int
static final int
-
Constructor Summary
ConstructorDescriptionECEFCoordinate
(double x, double y) ECEFCoordinate
(double x, double y, double z) ECEFCoordinate
(GeographicCoordinate geographicCoordinate) Converts a lat-lon-height coordinate to an ECEF one. -
Method Summary
Modifier and TypeMethodDescriptionstatic double
calculatePrimeVerticalRadiusOfCurvature
(double latitudeDegrees) Calculates the Prime Vertical Radius of Curvature given a latitude in degreesstatic ECEFCoordinate
convertGeographicToECEF
(GeographicCoordinate geographicCoordinate) Converts a geographic coordinate to the ECEF coordinate systemMethods inherited from class llnl.gnem.core.geom.CartesianCoordinate
equals, getArray, getDistance, getElevation, getPoint, getX, getY, getZ, hashCode, setPoint, toString
-
Field Details
-
SEMI_MAJOR_AXIS_METERS
public static final int SEMI_MAJOR_AXIS_METERS- See Also:
-
SEMI_MINOR_AXIS_METERS
public static final int SEMI_MINOR_AXIS_METERS- See Also:
-
FLATTENING_FACTOR
public static final double FLATTENING_FACTOR- See Also:
-
FIRST_ECCENTRICITY
public static final double FIRST_ECCENTRICITY- See Also:
-
-
Constructor Details
-
ECEFCoordinate
public ECEFCoordinate(double x, double y) -
ECEFCoordinate
public ECEFCoordinate(double x, double y, double z) -
ECEFCoordinate
Converts a lat-lon-height coordinate to an ECEF one.- Parameters:
geographicCoordinate
-
-
-
Method Details
-
convertGeographicToECEF
Converts a geographic coordinate to the ECEF coordinate system- Parameters:
geographicCoordinate
-- Returns:
-
calculatePrimeVerticalRadiusOfCurvature
public static double calculatePrimeVerticalRadiusOfCurvature(double latitudeDegrees) Calculates the Prime Vertical Radius of Curvature given a latitude in degrees- Parameters:
latitudeDegrees
-- Returns:
-