Go to the documentation of this file.
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;
Double operator*(const MVEarthMagnetic &other) const
Multiplication defined as in-product.
virtual Double radius()
Get modulus of EarthMagnetic.
virtual void print(ostream &os) const
Print data.
MVEarthMagnetic & operator-=(const MVEarthMagnetic &right)
Double separation(const MVEarthMagnetic &other) const
Get the angular separation between two directions.
Double earthMagneticAngle(const MVEarthMagnetic &other) const
Get the EarthMagnetic angle between the directions.
Base class for values in a Measure.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
Quantity getLength() const
Generate the length.
const Vector< Double > & getValue() const
Generate a 3-vector of x,y,z in tesla.
MVEarthMagnetic & operator=(const MVEarthMagnetic &other)
Copy assignment.
virtual Vector< Double > getVector() const
Get the value in internal units.
Bool operator!=(const MVEarthMagnetic &other) const
static void assure(const MeasValue &in)
Quantum< Vector< Double > > getAngle() const
Generate angle 2-vector (in rad)
A 3D Earth magnetic field vector.
~MVEarthMagnetic()
Destructor.
MVEarthMagnetic crossProduct(const MVEarthMagnetic &other) const
Produce the cross product.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
MVEarthMagnetic()
Default constructor generates a (0,0,0) EarthMagnetic.
this file contains all the compiler specific defines
MVEarthMagnetic operator+(const MVEarthMagnetic &right) const
virtual void adjust()
Normalise direction aspects by adjusting the length to 1.
MVEarthMagnetic operator-() const
Addition and subtraction.
const Double e
e and functions thereof:
bool Bool
Define the standard types used by Casacore.
Vector< Double > get() const
Generate a 3-vector of coordinates (length(T), angles(rad))
Bool operator==(const MVEarthMagnetic &other) const
Equality comparisons.
Bool near(const MVEarthMagnetic &other, Double tol=1e-13) const
virtual uInt type() const
Tell me your type.
MVEarthMagnetic & operator+=(const MVEarthMagnetic &right)
MVBaseline operator*(const RotMatrix &left, const MVBaseline &right)
Rotate a Baseline vector with rotation matrix and other multiplications.
virtual MeasValue * clone() const
Clone.
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Bool nearAbs(const MVEarthMagnetic &other, Double tol=1e-13) const
virtual void readjust(Double res)
Re-adjust using factor given.