astro
Class ConstellationShape

java.lang.Object
  extended by astro.ConstellationShape

public class ConstellationShape
extends Object

A helper class that allows drawing the classical star constellations. It uses Simbad to resolve constellation giving HR numbers of stars. According to the parsing rules of SkyPath, the following to chars are supported to build a whole constellation:


Field Summary
static String LEO
          For test purposes.
 
Constructor Summary
ConstellationShape()
           
 
Method Summary
protected static void convert(File read, File write)
          Reads from the file in the first argument and converts it into a SkyPath-parsable string.
static void main(String[] arg)
          Reads from the file in the first argument and converts it into a SkyPath-parsable string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEO

public static String LEO
For test purposes.

Constructor Detail

ConstellationShape

public ConstellationShape()
Method Detail

main

public static void main(String[] arg)
                 throws IOException
Reads from the file in the first argument and converts it into a SkyPath-parsable string. The numbers found ar HR numbers and converted into ra/dec using simbad.

Throws:
IOException

convert

protected static void convert(File read,
                              File write)
                       throws IOException
Reads from the file in the first argument and converts it into a SkyPath-parsable string. The numbers found ar HR numbers and converted into ra/dec using simbad.

Throws:
IOException