28 #ifndef CASA_MVBASELINE_H
29 #define CASA_MVBASELINE_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);
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)
MVEarthMagnetic operator*(const RotMatrix &left, const MVEarthMagnetic &right)
Rotate a EarthMagnetic vector with rotation matrix and other multiplications.
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)
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:
virtual uInt type() const
Tell me your type.
MVBaseline()
Default constructor generates a (0,0,0) Baseline.
MVBaseline & operator=(const MVBaseline &other)
Copy assignment.
MVBaseline & operator+=(const MVBaseline &right)
MVBaseline crossProduct(const MVBaseline &other) const
Produce the cross product.
virtual Vector< Double > getVector() const
Get the value in internal units.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.