29 #ifndef COORDINATES_PROJECTION_H
30 #define COORDINATES_PROJECTION_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/casa/BasicSL/String.h>
const Vector< Double > & parameters() const
static Bool isZenithal(Projection::Type proj)
Is this projection a 'zenithal' projection.
static uInt nMinParameters(Projection::Type proj)
Type
Hold all the known types of celestial projections.
@ CSC
COBE quadrilateralized spherical cube.
@ SZP
Slant zenithal perspective, new.
@ ZPN
zenithal/azimuthal polynomial.
@ TSC
Tangential spherical cube.
@ ARC
zenith/azimuthal equidistant.
@ QSC
Quadrilateralized spherical cube.
@ CYP
Cylindrical perspective.
@ ZEA
zenithal/azimuthal equal area.
@ CEA
Cylindrical equal area.
@ SFL
Sanson-Flamsteed (global sinusoidal).
@ AZP
Zenithal/Azimuthal perspective.
@ SIN
Orthographics/synthesis.
@ N_PROJ
N_PROJ gives the number of supported projections - it shouldn't be used as a projection.
Projection(const String &ctypeLin, const String &ctypeLat, const Vector< Double > ¶meters)
Construct a projection from FITS CTYPE keywords.
Projection(Projection::Type which, const Vector< Double > ¶meters)
Construct a projection which needs parameters.
static uInt nParameters(Projection::Type proj)
How many parameters does this projection have at most? What is the minimum number of parameters that ...
Bool near(const Projection &other, Double tol=1.0e-6) const
Comparison to fractional tolerance.
static Projection::Type type(const String &name)
Turn a projection type name into a Type.
Projection::Type type(String &ctypeLong, String &ctypeLat) const
Vector< Double > parameters_p
String name() const
What is the type of this projection as a String (e.g.
Projection(Projection::Type which=CAR)
Construct a projection which needs no parameters.
Projection(const Projection &other)
Copy constructor (copy semantics).
Projection & operator=(const Projection &other)
Assignment (copy semantics)
Projection::Type type() const
What is the Type of this projection?
void validate(const Bool verbose=False)
static String name(Projection::Type proj)
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.