\hypertarget{vocSkybot_8c}{ \section{vocSkybot.c File Reference} \label{vocSkybot_8c}\index{vocSkybot.c@{vocSkybot.c}} } {\tt \#include $<$stdio.h$>$}\par {\tt \#include $<$stdlib.h$>$}\par {\tt \#include $<$unistd.h$>$}\par {\tt \#include $<$signal.h$>$}\par {\tt \#include $<$errno.h$>$}\par {\tt \#include \char`\"{}VOClient.h\char`\"{}}\par \subsection*{Functions} \begin{CompactItemize} \item \hypertarget{vocSkybot_8c_f8d79a0314338263841485c24d97cf1f}{ Skybot \textbf{voc\_\-skybot} (double ra, double dec, double rsz, double dsz, double epoch)} \label{vocSkybot_8c_f8d79a0314338263841485c24d97cf1f} \item \hypertarget{vocSkybot_8c_5559779a075d5933afb4c9021c1aee4a}{ int \textbf{voc\_\-skybotNObjs} (Skybot sb)} \label{vocSkybot_8c_5559779a075d5933afb4c9021c1aee4a} \item \hypertarget{vocSkybot_8c_097a23954288e4085314abc5804efe26}{ char $\ast$ \textbf{voc\_\-skybotStrAttr} (Skybot sb, char $\ast$attr, int index)} \label{vocSkybot_8c_097a23954288e4085314abc5804efe26} \item \hypertarget{vocSkybot_8c_9ed96e652da4487d89505ccc9ca917f5}{ double \textbf{voc\_\-skybotDblAttr} (Skybot sb, char $\ast$attr, int index)} \label{vocSkybot_8c_9ed96e652da4487d89505ccc9ca917f5} \end{CompactItemize} \subsection*{Variables} \begin{CompactItemize} \item \hypertarget{vocSkybot_8c_e8b9013ac3d6a8f93991444d8c8c5919}{ VOClient $\ast$ \textbf{vo}} \label{vocSkybot_8c_e8b9013ac3d6a8f93991444d8c8c5919} \end{CompactItemize} \label{_details} \hypertarget{_details}{} \subsection{Detailed Description} SkyBoT Minor Planet Service Interface: -------------------------------------- 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. Reference: \href{http://www.imcce.fr/webservices/skybot/}{\tt http://www.imcce.fr/webservices/skybot/} Class Methods: -------------- sb = voc\_\-skybot (ra, dec, rsz, dsz, epoch) count = voc\_\-skybotNObjs (sb) str = voc\_\-skybotStrAttr (sb, attrname, index) dval = voc\_\-skybotDblAttr (sb, attrname, index) Available Attributes: --------------------- number string Asteroid number name string Asteroid name ra double J2000 Equatorial RA dec double J2000 Equatorial Dec class string \hyperlink{structObject}{Object} 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 \char`\"{} \char`\"{} \char`\"{} \char`\"{} \char`\"{} pz double \char`\"{} \char`\"{} \char`\"{} \char`\"{} \char`\"{} vx double Mean J2000 heliocentric position vector (AU/day) vy double \char`\"{} \char`\"{} \char`\"{} \char`\"{} \char`\"{} vz double \char`\"{} \char`\"{} \char`\"{} \char`\"{} \char`\"{} JD0 double T0, epoch of position vector (JD) Example Usage: --------------- 1) Find bodies in a 900\char`\"{} radius around (0.0,0.0) on JD 2453939.123 VOCSkybot skybot = new VOCSkybot (0.0,0.0,900,2453939.123); for (int i=0; i $<$ skybot.getNObjs(); i++) System.out.print (\char`\"{}Name: '\char`\"{} + sb.getStrAttr(\char`\"{}name\char`\"{},i)+\char`\"{}' \char`\"{} + \char`\"{}RA: \char`\"{} + sb.getDblAttr(\char`\"{}ra\char`\"{},i) + \char`\"{} \char`\"{} + \char`\"{}Dec: \char`\"{} + sb.getDblAttr(\char`\"{}dec\char`\"{},i) + \char`\"{} \char`\"{} + \char`\"{}Mv: \char`\"{} + sb.getDblAttr(\char`\"{}vmag\char`\"{},i) + \char`\"{} \char`\"{}); \begin{Desc} \item[Author:]Michael Fitzpatrick \end{Desc} \begin{Desc} \item[Version:]June 2006 \end{Desc}