CppEphem
Functions
planetpositions.cpp File Reference
#include <stdio.h>
#include <unistd.h>
#include <iostream>
#include <ncurses.h>
#include "CEExecOptions.h"
#include "CppEphem.h"
Include dependency graph for planetpositions.cpp:

Go to the source code of this file.

Functions

CEExecOptions DefineOptions ()
 Define the command line options for this program. More...
 
int Description ()
 
void DrawGrid (int line)
 
void DrawSkyMap (std::vector< CEObservation > &coords, int line)
 Forward Declarations. More...
 
int main (int argc, char **argv)
 Main. More...
 

Detailed Description

This script allows viewing the current coordinates of a given solar system planet for dates within 3000 B.C. to 3000 A.D. NOTE: The coordinates should be accurate to within ~0.5 degrees for inner solar system planets, and ~1-2 degrees for outer planets.

Definition in file planetpositions.cpp.

Function Documentation

◆ DefineOptions()

CEExecOptions DefineOptions ( )

Define the command line options for this program.

Definition at line 39 of file planetpositions.cpp.

◆ Description()

int Description ( )

Definition at line 234 of file planetpositions.cpp.

◆ DrawGrid()

void DrawGrid ( int  line)

Definition at line 205 of file planetpositions.cpp.

◆ DrawSkyMap()

void DrawSkyMap ( std::vector< CEObservation > &  coords,
int  line 
)

Forward Declarations.

Definition at line 184 of file planetpositions.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Main.

Definition at line 65 of file planetpositions.cpp.