213 const Unit &unit)
const;
219 const Unit &unit)
const;
225 virtual void print(ostream &os)
const;
250 MVuvw
operator*(
const RotMatrix &left,
const MVuvw &right);
251 MVuvw
operator*(
const MVuvw &left,
const RotMatrix &right);
virtual Vector< Quantum< Double > > getRecordValue() const
Get the internal value as a Vector<Quantity>.
Bool operator==(const MVuvw &other) const
Equality comparisons.
MVuvw operator-() const
Addition and subtraction.
MVuvw()
Default constructor generates a (0,0,0) uvw.
Bool near(const MVuvw &other, Double tol=1e-13) const
virtual void adjust()
Normalise direction aspects by adjusting the length to 1.
Double uvwAngle(const MVuvw &other) const
Get the uvw angle between the directions.
MVuvw & operator-=(const MVuvw &right)
MVuvw operator+(const MVuvw &right) const
Bool operator!=(const MVuvw &other) const
virtual Vector< Double > getVector() const
Get the value in internal units.
MVEarthMagnetic operator*(const RotMatrix &left, const MVEarthMagnetic &right)
Rotate a EarthMagnetic vector with rotation matrix and other multiplications.
virtual Bool putValue(const Vector< Quantum< Double > > &in)
Set the internal value if correct values and dimensions.
Quantity getLength() const
Generate the length.
virtual Vector< Quantum< Double > > getTMRecordValue() const
virtual uInt type() const
Tell me your type.
virtual void print(ostream &os) const
Print data.
Base class for values in a Measure.
Double separation(const MVuvw &other) const
Get the angular separation between two directions.
MVuvw & operator=(const MVuvw &other)
Copy assignment.
virtual Double radius()
Get radius(i.e.
Bool nearAbs(const MVuvw &other, Double tol=1e-13) const
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)
bool Bool
Define the standard types used by Casacore.
Quantum< Vector< Double > > getAngle() const
Generate angle 2-vector (in rad)
virtual Vector< Quantum< Double > > getXRecordValue() const
virtual MeasValue * clone() const
Clone.
MVuvw crossProduct(const MVuvw &other) const
Produce the cross product.
const Double e
e and functions thereof:
Vector of three direction cosines.
static void assure(const MeasValue &in)
MVuvw & operator+=(const MVuvw &right)
const Vector< Double > & getValue() const
Generate a 3-vector of x,y,z in m.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.