Class ECEFCoordinate

java.lang.Object
llnl.gnem.core.geom.CartesianCoordinate
llnl.gnem.core.geom.ECEFCoordinate
All Implemented Interfaces:
Coordinate<CartesianCoordinate>

public class ECEFCoordinate extends 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 Details

  • Constructor Details

    • ECEFCoordinate

      public ECEFCoordinate(double x, double y)
    • ECEFCoordinate

      public ECEFCoordinate(double x, double y, double z)
    • ECEFCoordinate

      public ECEFCoordinate(GeographicCoordinate geographicCoordinate)
      Converts a lat-lon-height coordinate to an ECEF one.
      Parameters:
      geographicCoordinate -
  • Method Details

    • convertGeographicToECEF

      public static ECEFCoordinate convertGeographicToECEF(GeographicCoordinate geographicCoordinate)
      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: