28 #ifndef CASA_MVEARTHMAGNETIC_H 29 #define CASA_MVEARTHMAGNETIC_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Quanta/MVPosition.h> 208 const Unit &unit)
const;
214 const Unit &unit)
const;
220 virtual void print(ostream &os)
const;
Quantum< Vector< Double > > getAngle() const
Generate angle 2-vector (in rad)
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
virtual void print(ostream &os) const
Print data.
const Vector< Double > & getValue() const
Generate a 3-vector of x,y,z in tesla.
virtual uInt type() const
Tell me your type.
static void assure(const MeasValue &in)
Bool operator==(const MVEarthMagnetic &other) const
Equality comparisons.
MVEarthMagnetic operator-() const
Addition and subtraction.
Base class for values in a Measure.
virtual MeasValue * clone() const
Clone.
MVEarthMagnetic & operator+=(const MVEarthMagnetic &right)
virtual void adjust()
Normalise direction aspects by adjusting the length to 1.
MVEarthMagnetic & operator-=(const MVEarthMagnetic &right)
A 3D Earth magnetic field vector.
bool Bool
Define the standard types used by Casacore.
Double earthMagneticAngle(const MVEarthMagnetic &other) const
Get the EarthMagnetic angle between the directions.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
Bool near(const MVEarthMagnetic &other, Double tol=1e-13) const
MVEarthMagnetic crossProduct(const MVEarthMagnetic &other) const
Produce the cross product.
virtual Vector< Double > getVector() const
Get the value in internal units.
MVEarthMagnetic & operator=(const MVEarthMagnetic &other)
Copy assignment.
MVEarthMagnetic operator+(const MVEarthMagnetic &right) const
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
const Double e
e and functions thereof:
Bool operator!=(const MVEarthMagnetic &other) const
Double separation(const MVEarthMagnetic &other) const
Get the angular separation between two directions.
Bool nearAbs(const MVEarthMagnetic &other, Double tol=1e-13) const
virtual void readjust(Double res)
Re-adjust using factor given.
Double operator*(const MVEarthMagnetic &other) const
Multiplication defined as in-product.
Quantity getLength() const
Generate the length.
~MVEarthMagnetic()
Destructor.
this file contains all the compiler specific defines
virtual Double radius()
Get modulus of EarthMagnetic.
MVEarthMagnetic()
Default constructor generates a (0,0,0) EarthMagnetic.