org.hermit.astro
Class Planet

java.lang.Object
  extended by org.hermit.astro.Body
      extended by org.hermit.astro.Planet
All Implemented Interfaces:
AstroConstants

public class Planet
extends Body

This class represents a planet, and provides all known information about it. This subclass of Body basically provides custom calculation routines relevant to planets. Note that we depart from the usual Java naming conventions here. To simplify reference to source materials, variables are named according to the original source text, Greek letters included. So, be careful when looking at names; "Χ" may be the Greek Chi, rather than Roman.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hermit.astro.Body
Body.Field, Body.Name
 
Field Summary
 
Fields inherited from class org.hermit.astro.Body
ALL_BODIES, NUM_BODIES
 
Fields inherited from interface org.hermit.astro.AstroConstants
ABERRATION, AU, HALFPI, J1900, J1990, J2000, JD_UNIX, REFRACTION, SECS_PER_DAY, SIDEREAL_RATIO, SIDEREAL_YEAR, TROPICAL_YEAR, TWILIGHT, TWOPI, ε_2000
 
Method Summary
 boolean isInner()
          Determine whether this is an inner planet (i.e.
 
Methods inherited from class org.hermit.astro.Body
get, getId, getName, invalidate, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isInner

public boolean isInner()
Determine whether this is an inner planet (i.e. orbits the Sun inside the Earth's orbit).

Returns:
true if this is an inner planet.