3afb9b24f89245c56d8d0aa11090549c5ce76f98
[ptas] / src / kkj.h
1 #ifndef KKJ_H
2 #define KKJ_H
3
4 /**
5  * A class representing the Finnish KKJ coordinate.
6  */
7 class KKJ
8 {
9 public:
10     /**
11      * Constructs a new KKJ coordinate with the given values.
12      * @param northing the northing coordinate.
13      * @param easting the easting coordinate.
14      */
15     KKJ(unsigned int northing, unsigned int easting);
16
17     /**
18      * Destructor.
19      */
20     virtual ~KKJ();
21
22     /**
23      * Returns the northing of the coordinate.
24      * @return the northing.
25      */
26     unsigned int northing() const;
27
28     /**
29      * Returns the easting of the coordinate.
30      * @return the easting.
31      */
32     unsigned int easting() const;
33
34 private:
35     unsigned int mNorthing;
36     unsigned int mEasting;
37 };
38
39 #endif // KKJ_H