Class BTraceData


  • public class BTraceData
    extends java.lang.Object
    This class represents B-field trace data.
    Version:
    $Revison: $
    Author:
    B. Harris
    • Constructor Summary

      Constructors 
      Constructor Description
      BTraceData()
      Constructs a default BTraceData object with no data.
      BTraceData​(CoordinateSystem coordinateSystem, Hemisphere hemisphere, java.util.List<java.lang.Float> latitude, java.util.List<java.lang.Float> longitude, java.util.List<java.lang.Double> arcLength)
      Constructs a BTraceData object with the given values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Double> getArcLength()
      Get the B-field trace arc length values.
      CoordinateSystem getCoordinateSystem()
      Gets the coordinate system value.
      Hemisphere getHemisphere()
      Gets the magnetic hemisphere value.
      java.util.List<java.lang.Float> getLatitude()
      Get the B-field trace latitude values.
      java.util.List<java.lang.Float> getLongitude()
      Get the B-field trace longitude values.
      void setArcLength​(java.util.List<java.lang.Double> value)
      Sets the B-field trace arc length values.
      void setCoordinateSystem​(CoordinateSystem value)
      Sets the coordinate system value.
      void setHemisphere​(Hemisphere value)
      Set the magnetic hemisphere value.
      void setLatitude​(java.util.List<java.lang.Float> value)
      Sets the B-field trace latitude values.
      void setLongitude​(java.util.List<java.lang.Float> value)
      Sets the B-field trace latitude values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BTraceData

        public BTraceData()
        Constructs a default BTraceData object with no data.
      • BTraceData

        public BTraceData​(CoordinateSystem coordinateSystem,
                          Hemisphere hemisphere,
                          java.util.List<java.lang.Float> latitude,
                          java.util.List<java.lang.Float> longitude,
                          java.util.List<java.lang.Double> arcLength)
        Constructs a BTraceData object with the given values.
        Parameters:
        coordinateSystem - identifies the coordinate system. Valid values are GEO and GM.
        hemisphere - identifies hemisphere
        latitude - latitude trace values
        longitude - longitude trace values
        arcLength - arc length values
    • Method Detail

      • setCoordinateSystem

        public void setCoordinateSystem​(CoordinateSystem value)
        Sets the coordinate system value. Valid values are GEO and GM.
        Parameters:
        value - new value
        See Also:
        getCoordinateSystem()
      • setHemisphere

        public void setHemisphere​(Hemisphere value)
        Set the magnetic hemisphere value.
        Parameters:
        value - new value
        See Also:
        getHemisphere()
      • setLatitude

        public void setLatitude​(java.util.List<java.lang.Float> value)
        Sets the B-field trace latitude values.
        Parameters:
        value - new trace latitude values
        See Also:
        getLatitude()
      • setLongitude

        public void setLongitude​(java.util.List<java.lang.Float> value)
        Sets the B-field trace latitude values.
        Parameters:
        value - new trace latitude values
        See Also:
        getLongitude()
      • setArcLength

        public void setArcLength​(java.util.List<java.lang.Double> value)
        Sets the B-field trace arc length values.
        Parameters:
        value - new trace arc length values
        See Also:
        getArcLength()