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