00 /*
01  * tripple.h
02  *
03  *      Author: Kurt Nørmark/Simonas Saltenis
04  */
05 
06 #ifndef TRIPPLE_H_
07 #define TRIPPLE_H_
08 
09 #include <iostream>
10 #include "point.h"
11 
12 namespace Geometrical{
13 
14   class Point;
15 
16   class Tripple {
17       private:
18           int x, y, z;
19 
20       public:
21           Tripple() : x{0}, y{0}, z{0} {};
22           Tripple(int xi, int yi, int zi) : x{xi}, y{yi}, z{zi} {};
23           Tripple(Point p);
24 
25           int getx() const;
26           int gety() const;
27           int getz() const;
28 
29       friend std::ostream& operator<<(std::ostream&, const Tripple&);
30   };
31 
32   std::ostream& operator<<(std::ostream&, const Tripple&);
33 }
34 
35 
36 #endif /* TRIPPLE_H_ */
37