Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

StaticOrbit.h

Go to the documentation of this file.
00001 // $Id: StaticOrbit.h,v 1.3 2002/07/23 19:00:57 srobinsn Exp $
00015 #include "flux/Orbit.h"
00016 
00017 
00018 class StaticOrbit : public Orbit {
00019 public:
00020     StaticOrbit (double lt = 0., double ln = 0.) : m_lat(lt), m_lon(ln) {}
00021     
00022     // overloads
00023     virtual double  latitude ( double time ) { return m_lat; }
00024     virtual double  longitude ( double time ) { return m_lon; }
00025     virtual double  pitch ( double time ) { return m_pitch; }
00026     virtual double  yaw ( double time ) { return m_yaw; }
00027     virtual double  roll ( double time ) { return m_roll; }
00028     
00029 protected:
00030     // set methods
00031     virtual void  setLatitude ( double l ) { m_lat = l; }
00032     virtual void  setLongitude ( double l ) { m_lon = l; }
00033     virtual void  setPitch ( double p ) { m_pitch = p; }
00034     virtual void  setYaw ( double y ) { m_yaw = y; }
00035     virtual void  setRoll ( double r ) { m_roll = r; }
00036     
00037 private:
00038     double m_lat;   // latitude of the instrument
00039     double m_lon;   // longitude of the instrument
00040     double m_pitch; // pitch of the instrument
00041     double m_yaw;   // yaw of the instrument
00042     double m_roll;  // roll of the instrument
00043 };

Generated on Wed Oct 16 14:01:31 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001