Debian Codegraph @

Oodle/src/CPoint.h

raw
1 #ifndef _CPOINT_
2 #define _CPOINT_
3
4 class CPoint
5 {
6 public:
7 CPoint(double x, double y) : x(x), y(y) {}
8 double getX() { return x; }
9 double getY() { return y; }
10
11 private:
12 double x, y;
13 };
14
15 #endif