File: atan2

package info (click to toggle)
qgis 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 374,696 kB
  • ctags: 66,263
  • sloc: cpp: 396,139; ansic: 241,070; python: 130,609; xml: 14,884; perl: 1,290; sh: 1,287; sql: 500; yacc: 268; lex: 242; makefile: 168
file content (15 lines) | stat: -rw-r--r-- 385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h3>atan2() function</h3>
Returns arcustangens of y/x using the signs of the two 
arguments to determine the quadrant of the result



<p><h4>Syntax</h4>
     atan2(<i>real</i>, <i>real</i>)</p>

<p><h4>Arguments</h4>
<i>real</i> &rarr; y coordinate difference<br>
<i>real</i> &rarr; x coordinate difference</p>

<p><h4>Example</h4>
     atan2(1.0, 1.732) &rarr; 0.523611477769969</p>