/[PAMELA software]/YodaProfiler/inc/coord.h
ViewVC logotype

Contents of /YodaProfiler/inc/coord.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 20 11:39:33 2006 UTC (18 years, 1 month ago) by mocchiut
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
FILE REMOVED
Create libsgp4.so shared lib; unified sgp4 code

1 //
2 // coord.h
3 //
4 // Copyright 2002-2003 Michael F. Henry
5 //
6 #pragma once
7
8 //////////////////////////////////////////////////////////////////////
9 // Geocentric coordinates.
10 class cCoordGeo
11 {
12 public:
13 cCoordGeo();
14 cCoordGeo(double lat, double lon, double alt) :
15 m_Lat(lat), m_Lon(lon), m_Alt(alt) {}
16 virtual ~cCoordGeo() {};
17
18 double m_Lat; // Latitude, radians (negative south)
19 double m_Lon; // Longitude, radians (negative west)
20 double m_Alt; // Altitude, km (above mean sea level)
21 };
22
23 //////////////////////////////////////////////////////////////////////
24 // Topocentric-Horizon coordinates.
25 class cCoordTopo
26 {
27 public:
28 cCoordTopo();
29 cCoordTopo(double az, double el, double rng, double rate) :
30 m_Az(az), m_El(el), m_Range(rng), m_RangeRate(rate) {}
31 virtual ~cCoordTopo() {};
32
33 double m_Az; // Azimuth, radians
34 double m_El; // Elevation, radians
35 double m_Range; // Range, kilometers
36 double m_RangeRate; // Range rate of change, km/sec
37 // Negative value means "towards observer"
38 };
39

  ViewVC Help
Powered by ViewVC 1.1.23