Jeospace API

org.jeospace.physics.orbit
Class Visibility

java.lang.Object
  extended byorg.jeospace.physics.orbit.Visibility

public class Visibility
extends java.lang.Object

Constant object identifiers of the visibility status of an orbital object

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton

Field Summary
static Visibility ASCENDING
          ASCENDING - object is ascending across the defined horizon
static Visibility DESCENDING
          DESCENDING - object is decending across the defined horizon
static Visibility DOWN
          DOWN - object is not visible and is below the defined horizon
static Visibility TRANSIT
          TRANSIT - object is visible and is crossing the local meridian
static Visibility UP
          UP - object is visible above the defined horizon
 
Constructor Summary
protected Visibility(java.lang.String status)
          Restricted Constructor
 
Method Summary
static Visibility get(Spherical horizontal, Spherical previous_horizontal)
          Return an instance of Visibility which cooresponds with the horizontal coordinates of the object.
 java.lang.String toString()
          Return the String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UP

public static final Visibility UP
UP - object is visible above the defined horizon


DOWN

public static final Visibility DOWN
DOWN - object is not visible and is below the defined horizon


TRANSIT

public static final Visibility TRANSIT
TRANSIT - object is visible and is crossing the local meridian


ASCENDING

public static final Visibility ASCENDING
ASCENDING - object is ascending across the defined horizon


DESCENDING

public static final Visibility DESCENDING
DESCENDING - object is decending across the defined horizon

Constructor Detail

Visibility

protected Visibility(java.lang.String status)
Restricted Constructor

Method Detail

get

public static Visibility get(Spherical horizontal,
                             Spherical previous_horizontal)
Return an instance of Visibility which cooresponds with the horizontal coordinates of the object.

Parameters:
horizontal - the current horizontal coordinate of the object
previous_horizontal - the previous horizontal coordinate of the object. If no previous horizontal coordinate is given, then we presume an Earth like situation, where the object is essentially stationary and the position of the object in relation to the direction of the Earth's rotation decides whether the object is ascending or descending. I.E. if the object is to the East - it is presumed to be ascending, to the West - it is presumed to be descending. This may not be a valid convention in all circumstances.
Returns:
the Visibility

toString

public java.lang.String toString()
Return the String representation of this object

Returns:
the String representation of this object

Jeospace API

Copyright © 2006 - jeospace.org