driver.ted.astro
Class T_SolarCoords

java.lang.Object
  extended by driver.ted.astro.T_SolarCoords
All Implemented Interfaces:
java.io.Serializable

public class T_SolarCoords
extends java.lang.Object
implements java.io.Serializable

Title: T_SolarCoords Description: This class implements the T_SolarCoords class which returns coordinates for the sun Copyright: (c) 2001 - 2006

Version:
1.1
Author:
Ted Driver
See Also:
Serialized Form

Constructor Summary
T_SolarCoords()
          Default Constructor, calculates the coordinates with the current system time.
T_SolarCoords(T_JulianDate J)
          Constructor: creates object with time defined by T_JulianDate object
 
Method Summary
 double getAlpha_low()
          Low precision Right Ascension Coordinate.
 double getDelta_low()
          Low precision Declination Coordinate.
static void main(java.lang.String[] args)
          Test program
 void setDateTime(T_JulianDate J)
          Set the time for which coordinates will be calculated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

T_SolarCoords

public T_SolarCoords()
Default Constructor, calculates the coordinates with the current system time.


T_SolarCoords

public T_SolarCoords(T_JulianDate J)
Constructor: creates object with time defined by T_JulianDate object

Parameters:
J - T_JulianDate object defining the time
Method Detail

setDateTime

public void setDateTime(T_JulianDate J)
Set the time for which coordinates will be calculated

Parameters:
J - T_JulianDate object defining the time

getAlpha_low

public double getAlpha_low()
Low precision Right Ascension Coordinate. Accurate to 0.01 degrees.

Returns:
Right Ascension in degrees (0-360)

getDelta_low

public double getDelta_low()
Low precision Declination Coordinate. Accurate to 0.01 degrees

Returns:
Declination in degrees (-180 to 180)

main

public static void main(java.lang.String[] args)
Test program

Parameters:
args - args