Package org.orekit.models.earth
Class ReferenceEllipsoid
java.lang.Object
org.orekit.bodies.Ellipsoid
org.orekit.bodies.OneAxisEllipsoid
org.orekit.models.earth.ReferenceEllipsoid
- All Implemented Interfaces:
BodyShape,EarthShape
A Reference Ellipsoid for use in geodesy. The ellipsoid defines an
ellipsoidal potential called the normal potential, and its gradient, normal
gravity.
These parameters are needed to define the normal potential:
- a, semi-major axis
- f, flattening
- GM, the gravitational parameter
- ω, the spin rate
References:
- Martin Losch, Verena Seufer. How to Compute Geoid Undulations (Geoid Height Relative to a Given Reference Ellipsoid) from Spherical Harmonic Coefficients for Satellite Altimetry Applications. , 2003. mitgcm.org/~mlosch/geoidcookbook.pdf
- Weikko A. Heiskanen, Helmut Moritz. Physical Geodesy. W. H. Freeman and Company, 1967. (especially sections 2.13 and equation 2-144)
- Department of Defense World Geodetic System 1984. 2000. NIMA TR 8350.2 Third Edition, Amendment 1.
- Author:
- Evan Ward, Guylaine Prat
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceEllipsoid(double ae, double f, Frame bodyFrame, double GM, double spin) Creates a new geodetic Reference Ellipsoid from four defining parameters. -
Method Summary
Modifier and TypeMethodDescriptiondoublegetC2n0(int n) Get the fully normalized coefficient C2n,0 for the normal gravity potential.Get the underlying ellipsoid model that defines latitude and longitude.doublegetGM()Gets the gravitational parameter that is part of the definition of the reference ellipsoid.static ReferenceEllipsoidGet the GRS80 ellipsoid, attached to the given body frame.static ReferenceEllipsoidgetIers2003(Frame bodyFrame) Get the IERS2003 ellipsoid, attached to the given body frame.static ReferenceEllipsoidgetIers2010(Frame bodyFrame) Get the IERS2010 ellipsoid, attached to the given body frame.static ReferenceEllipsoidGet the IERS96 ellipsoid, attached to the given body frame.doublegetNormalGravity(double latitude) Gets the normal gravity, that is gravity just due to the reference ellipsoid's potential.doubleGet the radius of this ellipsoid at the poles.doublegetSpin()Gets the rotation of the ellipsoid about its axis.static ReferenceEllipsoidGet the WGS84 ellipsoid, attached to the given body frame.Methods inherited from class org.orekit.bodies.OneAxisEllipsoid
azimuthBetweenPoints, azimuthBetweenPoints, geodeticToIsometricLatitude, geodeticToIsometricLatitude, getBodyFrame, getCartesianIntersectionPoint, getCartesianIntersectionPoint, getEccentricity, getEccentricitySquared, getEquatorialRadius, getFlattening, getIntersectionPoint, getIntersectionPoint, getLongitude, getLongitude, lowestAltitudeIntermediate, lowestAltitudeIntermediate, pointAtAltitude, pointAtAltitude, projectToGround, projectToGround, setAngularThreshold, transform, transform, transform, transform, transformMethods inherited from class org.orekit.bodies.Ellipsoid
getA, getB, getC, getFrame, getPlaneSection, getPlaneSection, isInside, isInside, pointOnLimb, pointOnLimbMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.bodies.BodyShape
getBodyFrame, getIntersectionPoint, getIntersectionPoint, getLongitude, getLongitude, projectToGround, projectToGround, transform, transform, transform, transform
-
Constructor Details
-
ReferenceEllipsoid
Creates a new geodetic Reference Ellipsoid from four defining parameters.- Parameters:
ae- Equatorial radius, in mf- flattening of the ellipsoid.bodyFrame- the frame to attach to the ellipsoid. The origin is at the center of mass, the z axis is the minor axis.GM- gravitational parameter, in m3/s2spin- ω in rad/s
-
-
Method Details
-
getGM
public double getGM()Gets the gravitational parameter that is part of the definition of the reference ellipsoid.- Returns:
- GM in m3/s2
-
getSpin
public double getSpin()Gets the rotation of the ellipsoid about its axis.- Returns:
- ω in rad/s
-
getPolarRadius
public double getPolarRadius()Get the radius of this ellipsoid at the poles.- Returns:
- the polar radius, in meters
- See Also:
-
getNormalGravity
public double getNormalGravity(double latitude) Gets the normal gravity, that is gravity just due to the reference ellipsoid's potential. The normal gravity only depends on latitude because the ellipsoid is axis symmetric.The normal gravity is a vector, having both magnitude and direction. This method only give the magnitude.
- Parameters:
latitude- geodetic latitude, in radians. That is the angle between the local normal on the ellipsoid and the equatorial plane.- Returns:
- the normal gravity, γ, at the given latitude in m/s2. This is the acceleration felt by a mass at rest on the surface of the reference ellipsoid.
-
getC2n0
public double getC2n0(int n) Get the fully normalized coefficient C2n,0 for the normal gravity potential.- Parameters:
n- index in C2n,0, n >= 1.- Returns:
- normalized C2n,0 of the ellipsoid
- See Also:
-
getEllipsoid
Description copied from interface:EarthShapeGet the underlying ellipsoid model that defines latitude and longitude. If the height component of aGeodeticPointis not needed, then using the ellipsoid will provide the quickest transformation.- Specified by:
getEllipsoidin interfaceEarthShape- Returns:
- the reference ellipsoid. May be
this, but nevernull.
-
getWgs84
Get the WGS84 ellipsoid, attached to the given body frame.- Parameters:
bodyFrame- the earth centered fixed frame- Returns:
- a WGS84 reference ellipsoid
-
getGrs80
Get the GRS80 ellipsoid, attached to the given body frame.- Parameters:
bodyFrame- the earth centered fixed frame- Returns:
- a GRS80 reference ellipsoid
-
getIers96
Get the IERS96 ellipsoid, attached to the given body frame.- Parameters:
bodyFrame- the earth centered fixed frame- Returns:
- an IERS96 reference ellipsoid
-
getIers2003
Get the IERS2003 ellipsoid, attached to the given body frame.- Parameters:
bodyFrame- the earth centered fixed frame- Returns:
- an IERS2003 reference ellipsoid
-
getIers2010
Get the IERS2010 ellipsoid, attached to the given body frame.- Parameters:
bodyFrame- the earth centered fixed frame- Returns:
- an IERS2010 reference ellipsoid
-