CppEphem
Functions
planetephem.cpp File Reference
#include <algorithm>
#include <stdio.h>
#include "CppEphem.h"
#include "CEExecOptions.h"
Include dependency graph for planetephem.cpp:

Go to the source code of this file.

Functions

CEExecOptions DefineOpts ()
 Forward declarations. More...
 
CEPlanet GetPlanet (const int &p_id)
 Returns the planet requested by the user. More...
 
int main (int argc, char **argv)
 Main method. More...
 
void PrintEphemeris (CEObservation &obs, const double &duration, const double &step_size)
 Prints the results of the planet position query. More...
 

Function Documentation

◆ DefineOpts()

CEExecOptions DefineOpts ( )

Forward declarations.

Set the command line options.

Definition at line 84 of file planetephem.cpp.

◆ GetPlanet()

CEPlanet GetPlanet ( const int &  p_id)

Returns the planet requested by the user.

Definition at line 124 of file planetephem.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Main method.

Definition at line 40 of file planetephem.cpp.

◆ PrintEphemeris()

void PrintEphemeris ( CEObservation obs,
const double &  duration,
const double &  step_size 
)

Prints the results of the planet position query.

Definition at line 152 of file planetephem.cpp.