org.stellarium.astro.planet
Class EclipticHelioFunc

java.lang.Object
  extended by org.stellarium.astro.planet.EclipticHelioFunc
All Implemented Interfaces:
PosFunc

public class EclipticHelioFunc
extends java.lang.Object
implements PosFunc

Function to compute ecliptic position from a given date.

Version:
$revision$
Author:
Jerome Beau

Field Summary
private  double[][][] latitudes
           
private  double[][][] longitudes
           
private  double[][][] radiuses
           
 
Constructor Summary
EclipticHelioFunc(double[][][] longitudes, double[][][] latitudes, double[][][] radiuses)
           
 
Method Summary
 void compute(double calcDate, javax.vecmath.Tuple3d eclipticPos)
          Chapter 31 Pg 206-207 Equ 31.1 31.2 , 31.3 using VSOP 87 Calculate earth rectangular heliocentric ecliptical coordinates for given julian day.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

longitudes

private double[][][] longitudes

latitudes

private double[][][] latitudes

radiuses

private double[][][] radiuses
Constructor Detail

EclipticHelioFunc

public EclipticHelioFunc(double[][][] longitudes,
                         double[][][] latitudes,
                         double[][][] radiuses)
Method Detail

compute

public void compute(double calcDate,
                    javax.vecmath.Tuple3d eclipticPos)
Chapter 31 Pg 206-207 Equ 31.1 31.2 , 31.3 using VSOP 87 Calculate earth rectangular heliocentric ecliptical coordinates for given julian day. Values are in UA.

Specified by:
compute in interface PosFunc
Parameters:
calcDate - Computation date, as Julian day
eclipticPos - The rect coords of ecliptic pos, as a result