28 #ifndef MEAS_DIRECTIONENGINE_H
29 #define MEAS_DIRECTIONENGINE_H
32 #include <casacore/casa/aips.h>
33 #include<casacore/meas/MeasUDF/MeasEngine.h>
34 #include <casacore/measures/Measures/MDirection.h>
35 #include <casacore/measures/Measures/MCDirection.h>
36 #include <casacore/measures/Measures/MeasConvert.h>
187 double& rise,
double& set);
193 double* rise,
double* set);
void calcRiseSet(const MDirection &dir, const MPosition &pos, const MEpoch &epoch, double h, double &rise, double &set)
Calucate the rise and set time of a source for a given position and epoch.
void setEpochEngine(EpochEngine &engine)
Set the possible epoch engine.
void handleDirection(const std::vector< TENShPtr > &args, uInt &argnr, Bool riseSet, Bool asDirCos)
Handle the argument(s) giving the input directions and reference type.
MDirection::Convert itsConverter
PositionEngine * itsPositionEngine
void handleScalars(const TENShPtr &e1, const TENShPtr &e2, const TENShPtr &e3)
Array< MDirection > getDirections(const TableExprId &id)
Get the directions.
EpochEngine * itsEpochEngine
void setConverter(MDirection::Types toType)
Set the MeasConvert object.
Array< Double > getArrayDouble(const TableExprId &id, Bool riseSet, Bool asDirCos)
Get the values.
int fillRiseSet(double epoch, const MDirection &dir, double lat, double h, const MEpoch &off, double *rise, double *set)
virtual ~DirectionEngine()
void handleNames(const TENShPtr &operand)
void setPositionEngine(PositionEngine &engine)
Set the possible position engine.
virtual void handleValues(TableExprNode &operand, const TableExprId &id, Array< MDirection > &directions)
Let a derive class handle the values.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.