28 #ifndef COORDINATES_GAUSSIANCONVERT_H
29 #define COORDINATES_GAUSSIANCONVERT_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/coordinates/Coordinates/CoordinateSystem.h>
39 template<
class T>
class Quantum;
GaussianConvert(const GaussianConvert &other)
Copy constructor.
Double positionAngleRange(Double pa)
~GaussianConvert()
Destructor.
void checkCoordinateSystem()
GaussianConvert & operator=(const GaussianConvert &other)
Assignment operator.
Vector< uInt > itsWorldAxes
void setCoordinateSystem(const CoordinateSystem &cSys)
(Re)set the coordinate system
String errorMessage() const
Recover error messages from the conversion functions.
void setWorldAxes(const Vector< uInt > &worldAxes)
Re(set) the world axes
Bool toWorld(Quantum< Double > &majorAxisOut, Quantum< Double > &minorAxisOut, Quantum< Double > &positionAngleOut, Double majorAxisIn, Double minorAxisIn, const Quantum< Double > &positionAngleIn)
Convert Gaussian parameters from pixels to world.
Bool toWorld(Vector< Quantum< Double > > &world, const Vector< Double > &pixel)
Bool toPixel(Double &majorAxisOut, Double &minorAxisOut, Quantum< Double > &positionAngleOut, const Quantum< Double > &majorAxisIn, const Quantum< Double > &minorAxisIn, const Quantum< Double > &positionAngleIn)
Convert Gaussian parameters from world to pixel.
Bool toPixel(Vector< Double > &pixel, const Vector< Quantum< Double > > &world)
Convert location.
GaussianConvert()
Default constructor.
void convertAxes(Double &minorAxisOut, Double &majorAxisOut, Quantum< Double > &positionAngleOut, Double minorAxisIn, Double majorAxisIn, const Quantum< Double > &positionAngleIn, const CoordinateSystem &cSys, String dir)
GaussianConvert(const CoordinateSystem &cSys, const Vector< uInt > &worldAxes)
Constructor.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
bool Bool
Define the standard types used by Casacore.