Jeospace API

org.jeospace.navigation
Class TrackSolarOrbitalObject

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

public class TrackSolarOrbitalObject
extends java.lang.Object
implements Orientation

A source of orientation data for viewpoint tracking of an orbital body that is in Solar orbit from an Earth ellipsoidal position.

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

Constructor Summary
TrackSolarOrbitalObject(Earth earth, OrbitalBody target, 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

TrackSolarOrbitalObject

public TrackSolarOrbitalObject(Earth earth,
                               OrbitalBody target,
                               Position position)
Constructor

Parameters:
earth - An Earth object
target - The target orbital object 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