28 #ifndef MEAS_DIRECTIONENGINE_H
29 #define MEAS_DIRECTIONENGINE_H
187 double& rise,
double& set);
193 double* rise,
double* set);
A Measure: astronomical direction.
A Measure: position on Earth.
void setEpochEngine(EpochEngine &engine)
Set the possible epoch engine.
virtual void handleValues(TableExprNode &operand, const TableExprId &id, Array< MDirection > &directions)
Let a derive class handle the values.
Templated base class for the TaQL UDF conversion engines.
Handle class for a table column expression tree.
void handleNames(const TENShPtr &operand)
Container for Measure frame.
Engine for TaQL UDF Position conversions.
void handleScalars(const TENShPtr &e1, const TENShPtr &e2, const TENShPtr &e3)
void setPositionEngine(PositionEngine &engine)
Set the possible position engine.
Array< Double > getArrayDouble(const TableExprId &id, Bool riseSet, Bool asDirCos)
Get the values.
A Measure: instant in time.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
PositionEngine * itsPositionEngine
virtual ~DirectionEngine()
void handleDirection(const std::vector< TENShPtr > &args, uInt &argnr, Bool riseSet, Bool asDirCos)
Handle the argument(s) giving the input directions and reference type.
Engine for TaQL UDF Epoch conversions.
MDirection::Convert itsConverter
Engine for TaQL UDF Direction conversions.
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.
bool Bool
Define the standard types used by Casacore.
void setConverter(MDirection::Types toType)
Set the MeasConvert object.
EpochEngine * itsEpochEngine
int fillRiseSet(double epoch, const MDirection &dir, double lat, double h, const MEpoch &off, double *rise, double *set)
Array< MDirection > getDirections(const TableExprId &id)
Get the directions.
The identification of a TaQL selection subject.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.