org.stellarium.astro.planet
Class Lunar.GeoFunc

java.lang.Object
  extended by org.stellarium.astro.planet.Lunar.GeoFunc
All Implemented Interfaces:
PosFunc
Enclosing class:
Lunar

public static class Lunar.GeoFunc
extends java.lang.Object
implements PosFunc


Constructor Summary
Lunar.GeoFunc()
           
 
Method Summary
 void compute(double calcDate, javax.vecmath.Tuple3d pos)
          Same with lowest precision by default
 void compute(double JD, javax.vecmath.Tuple3d pos, double precision)
          Calculate the rectangular geocentric lunar coordinates to the inertial mean ecliptic and equinox of J2000.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lunar.GeoFunc

public Lunar.GeoFunc()
Method Detail

compute

public void compute(double JD,
                    javax.vecmath.Tuple3d pos,
                    double precision)
Calculate the rectangular geocentric lunar coordinates to the inertial mean ecliptic and equinox of J2000. The geocentric coordinates returned are in units of UA. The truncation level of the series in radians for longitude and latitude and in km for distance. (Valid range 0 - 0.01, 0 being highest accuracy) This function is based upon the Lunar Solution ELP2000-82B by Michelle Chapront-Touze and Jean Chapront of the Bureau des Longitudes, Paris. ELP 2000-82B theory param JD Julian day, rect pos, precision


compute

public void compute(double calcDate,
                    javax.vecmath.Tuple3d pos)
Same with lowest precision by default

Specified by:
compute in interface PosFunc
pos - TODO: Fred this should be a point