Class 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 Detail

      • GeoMagneticElements

        public GeoMagneticElements​(org.hipparchus.geometry.euclidean.threed.Vector3D b)
        Construct a new element with the given field vector. The other elements of the magnetic field are calculated from the field vector.
        Parameters:
        b - the magnetic field vector
    • 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