LibreOffice Module connectivity (master) 1
Protected Member Functions | List of all members
connectivity::file::OOp_ATan2 Class Reference

ATAN2(Y,X) Returns the arc tangent of the two variables X and Y. More...

#include <FNumericFunctions.hxx>

Inheritance diagram for connectivity::file::OOp_ATan2:
[legend]
Collaboration diagram for connectivity::file::OOp_ATan2:
[legend]

Protected Member Functions

virtual ORowSetValue operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const override
 
virtual ORowSetValue operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const =0
 

Additional Inherited Members

- Public Member Functions inherited from connectivity::file::OBinaryOperator
virtual void Exec (OCodeStack &) override
 
virtual void Exec (OCodeStack &)=0
 
- Public Member Functions inherited from connectivity::file::OCode
virtual ~OCode ()
 
 OCode (OCode &&)=default
 
 OCode (const OCode &)=default
 
 OCode ()=default
 
OCodeoperator= (const OCode &)=default
 
OCodeoperator= (OCode &&)=default
 

Detailed Description

ATAN2(Y,X) Returns the arc tangent of the two variables X and Y.

It is similar to calculating the arc tangent of Y / X, except that the signs of both arguments are used to determine the quadrant of the result:

‍SELECT ATAN2(-2,2); -> -0.785398 SELECT ATAN2(PI(),0); -> 1.570796

Definition at line 329 of file FNumericFunctions.hxx.

Member Function Documentation

◆ operate()

ORowSetValue OOp_ATan2::operate ( const ORowSetValue lhs,
const ORowSetValue rhs 
) const
overrideprotectedvirtual

The documentation for this class was generated from the following files: