28 #ifndef MEAS_POSITIONENGINE_H
29 #define MEAS_POSITIONENGINE_H
149 const std::vector<TENShPtr>& args,
A Measure: position on Earth.
void handleScalars(const TENShPtr &e1, const TENShPtr &e2, const TENShPtr &e3, Int nval)
Templated base class for the TaQL UDF conversion engines.
Handle class for a table column expression tree.
virtual void deriveAttr(const Unit &unit, Int nval)
Let a derived class derive its attributes.
Engine for TaQL UDF Position conversions.
virtual void handleValues(TableExprNode &operand, const TableExprId &id, Array< MPosition > &positions)
Let a derive class handle the values.
void handleObservatory(const TENShPtr &operand)
Int valueType() const
Get the value type.
virtual String stripMeasType(const String &type)
Let a derived class strip part of the reference type.
MPosition makePosition(const Quantity &qh, const Quantity &q1, const Quantity &q2) const
Make an MPosition from xyz or height,angles.
virtual ~PositionEngine()
Array< Double > getArrayDouble(const TableExprId &id, MPosition::Types toRefType, Int toValueType)
Get the values.
void handlePosition(Int toValueType, const std::vector< TENShPtr > &args, uInt &argnr)
Handle the argument(s) giving the input positions and reference type.
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
virtual void setValueType(Int valueType)
Let a derived class set its value type.
void handlePosArray(const TENShPtr &angles, const TENShPtr &height)
The identification of a TaQL selection subject.
const Unit & unit() const
Get the unit of the function's result.
String: the storage and methods of handling collections of characters.
Array< MPosition > getPositions(const TableExprId &id)
Get the positions.