Go to the documentation of this file.
28 #ifndef CASA_MVBASELINE_H
29 #define CASA_MVBASELINE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Quanta/MVPosition.h>
210 const Unit &unit)
const;
216 const Unit &unit)
const;
222 virtual void print(ostream &os)
const;
247 MVBaseline
operator*(
const RotMatrix &left,
const MVBaseline &right);
248 MVBaseline
operator*(
const MVBaseline &left,
const RotMatrix &right);
MVBaseline operator+(const MVBaseline &right) const
static void assure(const MeasValue &in)
virtual Vector< Double > getVector() const
Get the value in internal units.
virtual Double radius()
Get radius of Baseline.
virtual Vector< Quantum< Double > > getXRecordValue() const
virtual uInt type() const
Tell me your type.
MVBaseline()
Default constructor generates a (0,0,0) Baseline.
Bool operator!=(const MVBaseline &other) const
MVBaseline & operator=(const MVBaseline &other)
Copy assignment.
Base class for values in a Measure.
const Vector< Double > & getValue() const
Generate a 3-vector of x,y,z in m.
Vector< Double > get() const
Generate a 3-vector of coordinates (length(m), angles(rad))
virtual void readjust(Double res)
Re-adjust using factor given.
MVBaseline crossProduct(const MVBaseline &other) const
Produce the cross product.
Double BaselineAngle(const MVBaseline &other) const
Get the Baseline angle between the directions.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
virtual void putVector(const Vector< Double > &in)
Set the value from internal units (set 0 for empty vector)
MVBaseline & operator+=(const MVBaseline &right)
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Bool operator==(const MVBaseline &other) const
Equality comparisons.
Double operator*(const MVBaseline &other) const
Multiplication defined as in-product.
Double separation(const MVBaseline &other) const
Get the angular separation between two directions.
Bool near(const MVBaseline &other, Double tol=1e-13) const
this file contains all the compiler specific defines
Quantum< Vector< Double > > getAngle() const
Generate angle 2-vector (in rad)
virtual MeasValue * clone() const
Clone.
virtual void adjust()
Normalise direction aspects by adjusting the length to 1.
Bool nearAbs(const MVBaseline &other, Double tol=1e-13) const
const Double e
e and functions thereof:
Quantity getLength() const
Generate the length.
virtual void print(ostream &os) const
Print data.
bool Bool
Define the standard types used by Casacore.
virtual Vector< Quantum< Double > > getTMRecordValue() const
MVBaseline & operator-=(const MVBaseline &right)
MVBaseline operator*(const RotMatrix &left, const MVBaseline &right)
Rotate a Baseline vector with rotation matrix and other multiplications.
MVBaseline operator-() const
Addition and subtraction.