wcslib (8.2.2)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WCSLIB: wcstrig.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">WCSLIB<span id="projectnumber"> 8.2.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_af99bb3c152a306abd27951285ad1127.html">C</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#define-members">Macros</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">wcstrig.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <math.h></code><br />
<code>#include "wcsconfig.h"</code><br />
</div>
<p><a href="wcstrig_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:add1b8466211aa6885bed0619f32b35c7" id="r_add1b8466211aa6885bed0619f32b35c7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#add1b8466211aa6885bed0619f32b35c7">WCSTRIG_TOL</a>   1e-10</td></tr>
<tr class="memdesc:add1b8466211aa6885bed0619f32b35c7"><td class="mdescLeft"> </td><td class="mdescRight">Domain tolerance for asin() and acos() functions. <br /></td></tr>
<tr class="separator:add1b8466211aa6885bed0619f32b35c7"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a42ae26d339f06986ca7f12ba02abcd32" id="r_a42ae26d339f06986ca7f12ba02abcd32"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#a42ae26d339f06986ca7f12ba02abcd32">cosd</a> (double angle)</td></tr>
<tr class="memdesc:a42ae26d339f06986ca7f12ba02abcd32"><td class="mdescLeft"> </td><td class="mdescRight">Cosine of an angle in degrees. <br /></td></tr>
<tr class="separator:a42ae26d339f06986ca7f12ba02abcd32"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b83ceb814c90ebfa042a26d884ac159" id="r_a2b83ceb814c90ebfa042a26d884ac159"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#a2b83ceb814c90ebfa042a26d884ac159">sind</a> (double angle)</td></tr>
<tr class="memdesc:a2b83ceb814c90ebfa042a26d884ac159"><td class="mdescLeft"> </td><td class="mdescRight">Sine of an angle in degrees. <br /></td></tr>
<tr class="separator:a2b83ceb814c90ebfa042a26d884ac159"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee847369fa66666bfe1e72e7872499b6" id="r_aee847369fa66666bfe1e72e7872499b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#aee847369fa66666bfe1e72e7872499b6">sincosd</a> (double angle, double *sin, double *cos)</td></tr>
<tr class="memdesc:aee847369fa66666bfe1e72e7872499b6"><td class="mdescLeft"> </td><td class="mdescRight">Sine and cosine of an angle in degrees. <br /></td></tr>
<tr class="separator:aee847369fa66666bfe1e72e7872499b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a666bbac788099d5bc6d88e685f2713a3" id="r_a666bbac788099d5bc6d88e685f2713a3"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#a666bbac788099d5bc6d88e685f2713a3">tand</a> (double angle)</td></tr>
<tr class="memdesc:a666bbac788099d5bc6d88e685f2713a3"><td class="mdescLeft"> </td><td class="mdescRight">Tangent of an angle in degrees. <br /></td></tr>
<tr class="separator:a666bbac788099d5bc6d88e685f2713a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab4e520246350c50275f899c9b97c68d3" id="r_ab4e520246350c50275f899c9b97c68d3"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#ab4e520246350c50275f899c9b97c68d3">acosd</a> (double x)</td></tr>
<tr class="memdesc:ab4e520246350c50275f899c9b97c68d3"><td class="mdescLeft"> </td><td class="mdescRight">Inverse cosine, returning angle in degrees. <br /></td></tr>
<tr class="separator:ab4e520246350c50275f899c9b97c68d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a2ae59365f19adb4af90f4df3074e50" id="r_a7a2ae59365f19adb4af90f4df3074e50"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#a7a2ae59365f19adb4af90f4df3074e50">asind</a> (double y)</td></tr>
<tr class="memdesc:a7a2ae59365f19adb4af90f4df3074e50"><td class="mdescLeft"> </td><td class="mdescRight">Inverse sine, returning angle in degrees. <br /></td></tr>
<tr class="separator:a7a2ae59365f19adb4af90f4df3074e50"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a872bdab5707df527946ecbad24ee03ab" id="r_a872bdab5707df527946ecbad24ee03ab"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#a872bdab5707df527946ecbad24ee03ab">atand</a> (double s)</td></tr>
<tr class="memdesc:a872bdab5707df527946ecbad24ee03ab"><td class="mdescLeft"> </td><td class="mdescRight">Inverse tangent, returning angle in degrees. <br /></td></tr>
<tr class="separator:a872bdab5707df527946ecbad24ee03ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad029e98723548c7236e805c7b48c7c90" id="r_ad029e98723548c7236e805c7b48c7c90"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="wcstrig_8h.html#ad029e98723548c7236e805c7b48c7c90">atan2d</a> (double y, double x)</td></tr>
<tr class="memdesc:ad029e98723548c7236e805c7b48c7c90"><td class="mdescLeft"> </td><td class="mdescRight">Polar angle of <picture><source srcset="form_0_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$(x,y)$" src="form_0.png" width="28" height="14"/></picture>, in degrees. <br /></td></tr>
<tr class="separator:ad029e98723548c7236e805c7b48c7c90"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>When dealing with celestial coordinate systems and spherical projections (some moreso than others) it is often desirable to use an angular measure that provides an exact representation of the latitude of the north or south pole. The WCSLIB routines use the following trigonometric functions that take or return angles in degrees:</p>
<ul>
<li>
<a class="el" href="wcstrig_8h.html#a42ae26d339f06986ca7f12ba02abcd32" title="Cosine of an angle in degrees.">cosd()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#a2b83ceb814c90ebfa042a26d884ac159" title="Sine of an angle in degrees.">sind()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#a666bbac788099d5bc6d88e685f2713a3" title="Tangent of an angle in degrees.">tand()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#ab4e520246350c50275f899c9b97c68d3" title="Inverse cosine, returning angle in degrees.">acosd()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#a7a2ae59365f19adb4af90f4df3074e50" title="Inverse sine, returning angle in degrees.">asind()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#a872bdab5707df527946ecbad24ee03ab" title="Inverse tangent, returning angle in degrees.">atand()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#ad029e98723548c7236e805c7b48c7c90" title="Polar angle of , in degrees.">atan2d()</a> </li>
<li>
<a class="el" href="wcstrig_8h.html#aee847369fa66666bfe1e72e7872499b6" title="Sine and cosine of an angle in degrees.">sincosd()</a> </li>
</ul>
<p>These "trigd" routines are expected to handle angles that are a multiple of <picture><source srcset="form_18_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$90^\circ$" src="form_18.png" width="19" height="10"/></picture> returning an exact result. Some C implementations provide these as part of a system library and in such cases it may (or may not!) be preferable to use them. WCSLIB provides wrappers on the standard trig functions based on radian measure, adding tests for multiples of <picture><source srcset="form_18_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$90^\circ$" src="form_18.png" width="19" height="10"/></picture>.</p>
<p>However, <a class="el" href="wcstrig_8h.html">wcstrig.h</a> also provides the choice of using preprocessor macro implementations of the trigd functions that don't test for multiples of <picture><source srcset="form_18_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$90^\circ$" src="form_18.png" width="19" height="10"/></picture> (compile with -DWCSTRIG_MACRO). These are typically 20% faster but may lead to problems near the poles. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="add1b8466211aa6885bed0619f32b35c7" name="add1b8466211aa6885bed0619f32b35c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add1b8466211aa6885bed0619f32b35c7">◆ </a></span>WCSTRIG_TOL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define WCSTRIG_TOL   1e-10</td>
</tr>
</table>
</div><div class="memdoc">
<p>Domain tolerance for asin() and acos() functions. </p>
<p>Domain tolerance for the asin() and acos() functions to allow for floating point rounding errors.</p>
<p>If <picture><source srcset="form_73_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$v$" src="form_73.png" width="8" height="6"/></picture> lies in the range <picture><source srcset="form_74_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$1 < |v| < 1 + WCSTRIG\_TOL$" src="form_74.png" width="173" height="14"/></picture> then it will be treated as <picture><source srcset="form_75_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$|v| == 1$" src="form_75.png" width="45" height="14"/></picture>. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a42ae26d339f06986ca7f12ba02abcd32" name="a42ae26d339f06986ca7f12ba02abcd32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42ae26d339f06986ca7f12ba02abcd32">◆ </a></span>cosd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double cosd </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Cosine of an angle in degrees. </p>
<p><b>cosd</b>() returns the cosine of an angle given in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>[deg].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Cosine of the angle. </dd></dl>
</div>
</div>
<a id="a2b83ceb814c90ebfa042a26d884ac159" name="a2b83ceb814c90ebfa042a26d884ac159"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b83ceb814c90ebfa042a26d884ac159">◆ </a></span>sind()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double sind </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sine of an angle in degrees. </p>
<p><b>sind</b>() returns the sine of an angle given in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>[deg].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Sine of the angle. </dd></dl>
</div>
</div>
<a id="aee847369fa66666bfe1e72e7872499b6" name="aee847369fa66666bfe1e72e7872499b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee847369fa66666bfe1e72e7872499b6">◆ </a></span>sincosd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void sincosd </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>angle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double * </td>
<td class="paramname"><em>sin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double * </td>
<td class="paramname"><em>cos</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sine and cosine of an angle in degrees. </p>
<p><b>sincosd</b>() returns the sine and cosine of an angle given in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>[deg].</td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">sin</td><td>Sine of the angle. </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">cos</td><td>Cosine of the angle.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a id="a666bbac788099d5bc6d88e685f2713a3" name="a666bbac788099d5bc6d88e685f2713a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a666bbac788099d5bc6d88e685f2713a3">◆ </a></span>tand()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double tand </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tangent of an angle in degrees. </p>
<p><b>tand</b>() returns the tangent of an angle given in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">angle</td><td>[deg].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Tangent of the angle. </dd></dl>
</div>
</div>
<a id="ab4e520246350c50275f899c9b97c68d3" name="ab4e520246350c50275f899c9b97c68d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4e520246350c50275f899c9b97c68d3">◆ </a></span>acosd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double acosd </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>x</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inverse cosine, returning angle in degrees. </p>
<p><b>acosd</b>() returns the inverse cosine in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>in the range [-1,1].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Inverse cosine of x [deg]. </dd></dl>
</div>
</div>
<a id="a7a2ae59365f19adb4af90f4df3074e50" name="a7a2ae59365f19adb4af90f4df3074e50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a2ae59365f19adb4af90f4df3074e50">◆ </a></span>asind()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double asind </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>y</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inverse sine, returning angle in degrees. </p>
<p><b>asind</b>() returns the inverse sine in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>in the range [-1,1].</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Inverse sine of y [deg]. </dd></dl>
</div>
</div>
<a id="a872bdab5707df527946ecbad24ee03ab" name="a872bdab5707df527946ecbad24ee03ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a872bdab5707df527946ecbad24ee03ab">◆ </a></span>atand()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double atand </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inverse tangent, returning angle in degrees. </p>
<p><b>atand</b>() returns the inverse tangent in degrees.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">s</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Inverse tangent of s [deg]. </dd></dl>
</div>
</div>
<a id="ad029e98723548c7236e805c7b48c7c90" name="ad029e98723548c7236e805c7b48c7c90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad029e98723548c7236e805c7b48c7c90">◆ </a></span>atan2d()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double atan2d </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>x</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Polar angle of <picture><source srcset="form_0_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$(x,y)$" src="form_0.png" width="28" height="14"/></picture>, in degrees. </p>
<p><b>atan2d</b>() returns the polar angle, <picture><source srcset="form_70_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$\beta$" src="form_70.png" width="9" height="13"/></picture>, in degrees, of polar coordinates <picture><source srcset="form_71_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$(\rho,\beta)$" src="form_71.png" width="29" height="14"/></picture> corresponding to Cartesian coordinates <picture><source srcset="form_0_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$(x,y)$" src="form_0.png" width="28" height="14"/></picture>. It is equivalent to the <picture><source srcset="form_72_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$\arg(x,y)$" src="form_72.png" width="46" height="14"/></picture> function of WCS Paper II, though with transposed arguments.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>Cartesian <picture><source srcset="form_33_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$y$" src="form_33.png" width="8" height="9"/></picture>-coordinate. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>Cartesian <picture><source srcset="form_32_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$x$" src="form_32.png" width="8" height="6"/></picture>-coordinate.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Polar angle of <picture><source srcset="form_0_dark.png" media="(prefers-color-scheme: dark)"/><img class="formulaInl" alt="$(x,y)$" src="form_0.png" width="28" height="14"/></picture> [deg]. </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Nov 29 2023 19:09:57 for WCSLIB by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>