Package gov.nasa.gsfc.spdf.ssc
Class BTraceData
- java.lang.Object
-
- gov.nasa.gsfc.spdf.ssc.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.
-
-
-
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 hemispherelatitude
- latitude trace valueslongitude
- longitude trace valuesarcLength
- arc length values
-
-
Method Detail
-
getCoordinateSystem
public CoordinateSystem getCoordinateSystem()
Gets the coordinate system value.- Returns:
- coordinate system value
- See Also:
setCoordinateSystem(gov.nasa.gsfc.spdf.ssc.CoordinateSystem)
-
setCoordinateSystem
public void setCoordinateSystem(CoordinateSystem value)
Sets the coordinate system value. Valid values are GEO and GM.- Parameters:
value
- new value- See Also:
getCoordinateSystem()
-
getHemisphere
public Hemisphere getHemisphere()
Gets the magnetic hemisphere value.- Returns:
- hemisphere value
- See Also:
setHemisphere(gov.nasa.gsfc.spdf.ssc.Hemisphere)
-
setHemisphere
public void setHemisphere(Hemisphere value)
Set the magnetic hemisphere value.- Parameters:
value
- new value- See Also:
getHemisphere()
-
getLatitude
public java.util.List<java.lang.Float> getLatitude()
Get the B-field trace latitude values.- Returns:
- B-field trace latitude values
- See Also:
setLatitude(java.util.List<java.lang.Float>)
-
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()
-
getLongitude
public java.util.List<java.lang.Float> getLongitude()
Get the B-field trace longitude values.- Returns:
- B-field trace longitude values
- See Also:
setLongitude(java.util.List<java.lang.Float>)
-
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()
-
getArcLength
public java.util.List<java.lang.Double> getArcLength()
Get the B-field trace arc length values.- Returns:
- B-field trace arc length values
- See Also:
setArcLength(java.util.List<java.lang.Double>)
-
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()
-
-