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;
virtual MeasValue * clone() const
Clone.
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.
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.
Quantum< Vector< Double > > getAngle() const
Generate angle 2-vector (in rad)
Bool operator==(const MVBaseline &other) const
Equality comparisons.
Double operator*(const MVBaseline &other) const
Multiplication defined as in-product.
Bool nearAbs(const MVBaseline &other, Double tol=1e-13) const
virtual Vector< Quantum< Double > > getTMRecordValue() const
virtual void print(ostream &os) const
Print data.
virtual void adjust()
Normalise direction aspects by adjusting the length to 1.
Quantity getLength() const
Generate the length.
MVBaseline operator-() const
Addition and subtraction.
virtual Vector< Double > getVector() const
Get the value in internal units.
Base class for values in a Measure.
MVBaseline & operator-=(const MVBaseline &right)
MVBaseline operator+(const MVBaseline &right) const
virtual Double radius()
Get radius of Baseline.
virtual Vector< Quantum< Double > > getXRecordValue() const
static void assure(const MeasValue &in)
bool Bool
Define the standard types used by Casacore.
const Vector< Double > & getValue() const
Generate a 3-vector of x,y,z in m.
Bool operator!=(const MVBaseline &other) const
const Double e
e and functions thereof:
virtual uInt type() const
Tell me your type.
MVBaseline()
Default constructor generates a (0,0,0) Baseline.
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
MVBaseline & operator=(const MVBaseline &other)
Copy assignment.
Double separation(const MVBaseline &other) const
Get the angular separation between two directions.
MVBaseline & operator+=(const MVBaseline &right)
this file contains all the compiler specific defines
Bool near(const MVBaseline &other, Double tol=1e-13) const