~jtaylor/ubuntu/oneiric/flightgear/fix-749249

« back to all changes in this revision

Viewing changes to src/ATC/ATCProjection.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Ove Kaaven
  • Date: 2006-05-17 17:12:09 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060517171209-9qbwm4q1uj05vhcj
Tags: 0.9.10-2
Updated the build dependencies for xorg 7.0. Apparently the
amd64 autobuilder doesn't use Provides.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
//
17
17
// You should have received a copy of the GNU General Public License
18
18
// along with this program; if not, write to the Free Software
19
 
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
19
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20
20
 
21
21
#ifndef _FG_ATC_PROJECTION_HXX
22
22
#define _FG_ATC_PROJECTION_HXX
40
40
    Point3D ConvertFromLocal(const Point3D& pt);
41
41
 
42
42
private:
43
 
    Point3D origin;     // lat/lon of local area origin
44
 
    double correction_factor;   // Reduction in surface distance per degree of longitude due to latitude.  Saves having to do a cos() every call.
 
43
    Point3D _origin;    // lat/lon of local area origin
 
44
    double _correction_factor;  // Reduction in surface distance per degree of longitude due to latitude.  Saves having to do a cos() every call.
45
45
 
46
46
};
47
47
 
52
52
 
53
53
public:
54
54
    FGATCAlignedProjection();
 
55
    FGATCAlignedProjection(const Point3D& centre, double heading);
55
56
    ~FGATCAlignedProjection();
56
57
 
57
58
    void Init(const Point3D& centre, double heading);
63
64
    Point3D ConvertFromLocal(const Point3D& pt);
64
65
 
65
66
private:
66
 
    Point3D origin;     // lat/lon of local area origin (the threshold)
67
 
    double theta;       // the rotation angle for alignment in radians
68
 
    double correction_factor;   // Reduction in surface distance per degree of longitude due to latitude.  Saves having to do a cos() every call.
 
67
    Point3D _origin;    // lat/lon of local area origin (the threshold)
 
68
    double _theta;      // the rotation angle for alignment in radians
 
69
    double _correction_factor;  // Reduction in surface distance per degree of longitude due to latitude.  Saves having to do a cos() every call.
69
70
 
70
71
};
71
72