-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgausskruger.h
30 lines (24 loc) · 853 Bytes
/
gausskruger.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright Erik Lundin 2016.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Version: 1.0.0
#ifndef GAUSSKRUGER_H
#define GAUSSKRUGER_H
namespace gausskruger {
class Projection
{
public:
Projection() {}
virtual ~Projection() {}
virtual double centralMeridian() = 0;
virtual double flattening() = 0;
virtual double equatorialRadius() = 0;
virtual double scale() = 0;
virtual double falseNorthing() = 0;
virtual double falseEasting() = 0;
void geodeticToGrid(double latitude, double longitude, double& northing, double& easting);
void gridToGeodetic(double northing, double easting, double& latitude, double& longitude);
};
} // namespace gausskruger
#endif // GAUSSKRUGER_H