ClassesClassesClassesClasses | | | | Operators

tuple_atan2tuple_atan2TupleAtan2tuple_atan2TupleAtan2TupleAtan2 (Operator)


tuple_atan2tuple_atan2TupleAtan2tuple_atan2TupleAtan2TupleAtan2 — Compute the arctangent of a tuple for all four quadrants.


tuple_atan2( : : Y, X : ATan)

Herror tuple_atan2(double Y, double X, double* ATan)

Herror T_tuple_atan2(const Htuple Y, const Htuple X, Htuple* ATan)

Herror tuple_atan2(const HTuple& Y, const HTuple& X, double* ATan)

Herror tuple_atan2(const HTuple& Y, const HTuple& X, HTuple* ATan)

void TupleAtan2(const HTuple& Y, const HTuple& X, HTuple* ATan)

HTuple HTuple::TupleAtan2(const HTuple& X) const

void HOperatorSetX.TupleAtan2(
[in] VARIANT Y, [in] VARIANT X, [out] VARIANT* ATan)

VARIANT HTupleX.TupleAtan2(

static void HOperatorSet.TupleAtan2(HTuple y, HTuple x, out HTuple ATan)

HTuple HTuple.TupleAtan2(HTuple x)


tuple_atan2tuple_atan2TupleAtan2tuple_atan2TupleAtan2TupleAtan2 computes the arctangent of the input tuples YYYYYy/XXXXXx while treating all four quadrants correctly. The arctangent is always returned as a floating point number in ATanATanATanATanATanATan. The angles in ATanATanATanATanATanATan are represented in radians. The arctangent of a string is not allowed.

Exception: Empty input tuples

If either or both of the input tuples are empty, the operator returns an empty tuple.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_atan2tuple_atan2TupleAtan2tuple_atan2TupleAtan2TupleAtan2, which can be used in an expression in the following syntax:

ATan := atan2(Y, X)



YYYYYy (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input tuple of the y-values.

XXXXXx (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input tuple of the x-values.

ATanATanATanATanATanATan (output_control)  angle.rad(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Arctangent of the input tuple.


tuple_atantuple_atanTupleAtantuple_atanTupleAtanTupleAtan, tuple_asintuple_asinTupleAsintuple_asinTupleAsinTupleAsin, tuple_acostuple_acosTupleAcostuple_acosTupleAcosTupleAcos

See also

tuple_tantuple_tanTupleTantuple_tanTupleTanTupleTan, tuple_tanhtuple_tanhTupleTanhtuple_tanhTupleTanhTupleTanh



ClassesClassesClassesClasses | | | | Operators