Content


NTL
Core
CFunctionATan2

CFunctionATan2


Class provides implementation of the atan2(x, y) function for expressions which returns acr tangent of the operand using signs to determine quadrant. It is being used by expression runners.

The result is a float number.

You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.

class CFunctionATan2 :public CFunction
{
public:
    // IFunction methods 
    bool Run() override;

    CFunctionATan2(IErrorListener *error_listener, IFunction *operand1, IFunction *operand2);
};
Namespace: nitisa::script
Include: Nitisa/Modules/Script/Functions/Mathematics/FunctionATan2.h