28 #ifndef CASA_MVEARTHMAGNETIC_H
29 #define CASA_MVEARTHMAGNETIC_H
203 const Unit &unit)
const;
209 const Unit &unit)
const;
215 virtual void print(ostream &os)
const;
virtual void print(ostream &os) const
Print data.
MVEarthMagnetic operator-() const
Addition and subtraction.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
Double earthMagneticAngle(const MVEarthMagnetic &other) const
Get the EarthMagnetic angle between the directions.
virtual MeasValue * clone() const
Clone.
Bool operator!=(const MVEarthMagnetic &other) const
static void assure(const MeasValue &in)
Tell me your type.
const Vector< Double > & getValue() const
Generate a 3-vector of x,y,z in tesla.
Bool nearAbs(const MVEarthMagnetic &other, Double tol=1e-13) const
MVEarthMagnetic crossProduct(const MVEarthMagnetic &other) const
Produce the cross product.
MVEarthMagnetic operator+(const MVEarthMagnetic &right) const
Base class for values in a Measure.
Quantity getLength() const
Generate the length.
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.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Double separation(const MVEarthMagnetic &other) const
Get the angular separation between two directions.
Bool near(const MVEarthMagnetic &other, Double tol=1e-13) const
Quantum< Vector< Double > > getAngle() const
Generate angle 2-vector (in rad)
virtual Vector< Double > getVector() const
Get the value in internal units.
const Double e
e and functions thereof:
Bool operator==(const MVEarthMagnetic &other) const
Equality comparisons.
virtual void readjust(Double res)
Re-adjust using factor given.
MVBaseline operator*(const RotMatrix &left, const MVBaseline &right)
Rotate a Baseline vector with rotation matrix and other multiplications.
virtual Double radius()
Get modulus of EarthMagnetic.
MVEarthMagnetic()
Default constructor generates a (0,0,0) EarthMagnetic.
Double operator*(const MVEarthMagnetic &other) const
Multiplication defined as in-product.