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