aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/libvoclient/doc/html/vocSkybot_8c.html
blob: 1208e0ddb9af82752f36919cf3c162d353f02c50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VOClient API: vocSkybot.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vocSkybot.c File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;unistd.h&gt;</code><br>
<code>#include &lt;signal.h&gt;</code><br>
<code>#include &lt;errno.h&gt;</code><br>
<code>#include &quot;VOClient.h&quot;</code><br>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8d79a0314338263841485c24d97cf1f"></a><!-- doxytag: member="vocSkybot.c::voc_skybot" ref="f8d79a0314338263841485c24d97cf1f" args="(double ra, double dec, double rsz, double dsz, double epoch)" -->
Skybot&nbsp;</td><td class="memItemRight" valign="bottom"><b>voc_skybot</b> (double ra, double dec, double rsz, double dsz, double epoch)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5559779a075d5933afb4c9021c1aee4a"></a><!-- doxytag: member="vocSkybot.c::voc_skybotNObjs" ref="5559779a075d5933afb4c9021c1aee4a" args="(Skybot sb)" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>voc_skybotNObjs</b> (Skybot sb)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="097a23954288e4085314abc5804efe26"></a><!-- doxytag: member="vocSkybot.c::voc_skybotStrAttr" ref="097a23954288e4085314abc5804efe26" args="(Skybot sb, char *attr, int index)" -->
char *&nbsp;</td><td class="memItemRight" valign="bottom"><b>voc_skybotStrAttr</b> (Skybot sb, char *attr, int index)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ed96e652da4487d89505ccc9ca917f5"></a><!-- doxytag: member="vocSkybot.c::voc_skybotDblAttr" ref="9ed96e652da4487d89505ccc9ca917f5" args="(Skybot sb, char *attr, int index)" -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><b>voc_skybotDblAttr</b> (Skybot sb, char *attr, int index)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e8b9013ac3d6a8f93991444d8c8c5919"></a><!-- doxytag: member="vocSkybot.c::vo" ref="e8b9013ac3d6a8f93991444d8c8c5919" args="" -->
VOClient *&nbsp;</td><td class="memItemRight" valign="bottom"><b>vo</b></td></tr>

</table>
<hr><h2>Detailed Description</h2>
SkyBoT Minor Planet Service Interface: --------------------------------------<p>
A utility class for accessing the IMCCE Skybot ephemerides service. The service is called as part of the constructor for the object allowing easy access to the result data. Class methods also exist so a VO Client interface the same access to the data.<p>
Reference: <a href="http://www.imcce.fr/webservices/skybot/">http://www.imcce.fr/webservices/skybot/</a><p>
Class Methods: --------------<p>
sb = voc_skybot (ra, dec, rsz, dsz, epoch)<p>
count = voc_skybotNObjs (sb) str = voc_skybotStrAttr (sb, attrname, index) dval = voc_skybotDblAttr (sb, attrname, index)<p>
Available Attributes: ---------------------<p>
number string Asteroid number name string Asteroid name ra double J2000 Equatorial RA dec double J2000 Equatorial Dec class string <a class="el" href="structObject.html">Object</a> classification vmag double Visual magnitude poserr double Error on position (arcsec) cdist double Body-to-center angular distance dra double RA motion (arcsec/hr) ddec double Dec motion (arcsec/hr) dgeo double Geocentric distance (AU) dhelio double Heliocentric distance (AU) px double Mean J2000 heliocentric position vector (AU) py double "       " "       " " pz double "       " "       " " vx double Mean J2000 heliocentric position vector (AU/day) vy double "       " "       " " vz double "       " "       " " JD0 double T0, epoch of position vector (JD)<p>
Example Usage: ---------------<p>
1) Find bodies in a 900" radius around (0.0,0.0) on JD 2453939.123<p>
VOCSkybot skybot = new VOCSkybot (0.0,0.0,900,2453939.123); for (int i=0; i &lt; skybot.getNObjs(); i++) System.out.print ("Name: '" + sb.getStrAttr("name",i)+"' " + "RA: " + sb.getDblAttr("ra",i) + " " + "Dec: " + sb.getDblAttr("dec",i) + " " + "Mv: " + sb.getDblAttr("vmag",i) + " ");<p>
<dl class="author" compact><dt><b>Author:</b></dt><dd>Michael Fitzpatrick </dd></dl>
<dl class="version" compact><dt><b>Version:</b></dt><dd>June 2006 </dd></dl>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 27 21:08:58 2013 for VOClient API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>