Jeospace API

org.jeospace.navigation
Class TrackEarthSatellite

java.lang.Object
  extended byorg.jeospace.navigation.TrackEarthSatellite
All Implemented Interfaces:
Orientation

public class TrackEarthSatellite
extends java.lang.Object
implements Orientation

A source of orientation data for viewpoint tracking of a satellite that is in Earth orbit from an Earth ellipsoidal position.

Version:
$Revision: 1.2 $
Author:
Rex Melton
See Also:
OrbitalBody, Position, Attitude, Quaternion

Constructor Summary
TrackEarthSatellite(Earth earth, OrbitalBody satellite, Position position)
          Constructor
 
Method Summary
 void enableOrientation(boolean enabled)
          Set the state of the object to produce updated orientation data.
 void get(Attitude attitude)
          Return the orientation data in the argument object.
 void get(Quaternion quaternion)
          Return the orientation data in the argument object.
 void updateOrientation(double julianDay)
          Process any orientation changes for the next simulation frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackEarthSatellite

public TrackEarthSatellite(Earth earth,
                           OrbitalBody satellite,
                           Position position)
Constructor

Parameters:
earth - An Earth object
satellite - the satellite to track
position - the source of position coordinates
Method Detail

updateOrientation

public void updateOrientation(double julianDay)
Process any orientation changes for the next simulation frame.

Specified by:
updateOrientation in interface Orientation
Parameters:
julianDay - the time value for which to calculate the position

enableOrientation

public void enableOrientation(boolean enabled)
Set the state of the object to produce updated orientation data. By default, the state of this object is initialized to true.

Specified by:
enableOrientation in interface Orientation
Parameters:
enabled - true if the object should update it's orientation data in response to update( ) calls, false if the object should NOT update it's orientation data in response to update( ) calls.

get

public void get(Attitude attitude)
Return the orientation data in the argument object.

Specified by:
get in interface Orientation
Parameters:
attitude - the Attitude coordinate object to initialize with the current orientation data.

get

public void get(Quaternion quaternion)
Return the orientation data in the argument object.

Specified by:
get in interface Orientation
Parameters:
quaternion - the Quaternion coordinate object to initialize with the current orientation data.

Jeospace API

Copyright © 2006 - jeospace.org