~ubuntu-branches/ubuntu/warty/xplanet/warty

« back to all changes in this revision

Viewing changes to src/libprojection/ProjectionMercator.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:14:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040824071400-2dr4qnjbjmm8z3ia
Tags: 1.0.6-1ubuntu1
Build-depend: libtiff4-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef PROJECTIONMERCATOR_H
 
2
#define PROJECTIONMERCATOR_H
 
3
 
 
4
#include "ProjectionBase.h"
 
5
 
 
6
class ProjectionMercator : public ProjectionBase
 
7
{
 
8
 public:
 
9
    ProjectionMercator(const int f, const int w, const int h);
 
10
    bool pixelToSpherical(const double x, const double y, 
 
11
                          double &lon, double &lat);
 
12
 
 
13
    bool sphericalToPixel(double lon, double lat, double &x, double &y) const;
 
14
};
 
15
 
 
16
#endif