Package org.orekit.models.earth
Class GeoMagneticElements
- java.lang.Object
-
- org.orekit.models.earth.GeoMagneticElements
-
- All Implemented Interfaces:
Serializable
public class GeoMagneticElements extends Object implements Serializable
Contains the elements to represent a magnetic field at a single point.- Author:
- Thomas Neidhart
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoMagneticElements(org.hipparchus.geometry.euclidean.threed.Vector3D b)
Construct a new element with the given field vector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDeclination()
Returns the declination of the magnetic field in degrees.org.hipparchus.geometry.euclidean.threed.Vector3D
getFieldVector()
Returns the magnetic field vector in nTesla.double
getHorizontalIntensity()
Returns the horizontal intensity of the magnetic field (= norm of the vector in the plane spanned by the x/y components of the field vector).double
getInclination()
Returns the inclination of the magnetic field in degrees.double
getTotalIntensity()
Returns the total intensity of the magnetic field (= norm of the field vector).String
toString()
-
-
-
Method Detail
-
getFieldVector
public org.hipparchus.geometry.euclidean.threed.Vector3D getFieldVector()
Returns the magnetic field vector in nTesla.- Returns:
- the magnetic field vector in nTesla
-
getInclination
public double getInclination()
Returns the inclination of the magnetic field in degrees.- Returns:
- the inclination (dip) in degrees
-
getDeclination
public double getDeclination()
Returns the declination of the magnetic field in degrees.- Returns:
- the declination (dec) in degrees
-
getTotalIntensity
public double getTotalIntensity()
Returns the total intensity of the magnetic field (= norm of the field vector).- Returns:
- the total intensity in nTesla
-
getHorizontalIntensity
public double getHorizontalIntensity()
Returns the horizontal intensity of the magnetic field (= norm of the vector in the plane spanned by the x/y components of the field vector).- Returns:
- the horizontal intensity in nTesla
-
-