19 lines
237 B
C++
19 lines
237 B
C++
#ifndef OGPC_POINT_H_
|
|
#define OGPC_POINT_H_
|
|
|
|
#include "basictypes.h"
|
|
#include "astuple.h"
|
|
|
|
struct Point {
|
|
pos_t x, y;
|
|
Point(pos_t x, pos_t y);
|
|
Point();
|
|
|
|
bool operator<(const Point &o) const;
|
|
|
|
OGPC_DECLARE_ASTUPLE(x, y);
|
|
};
|
|
|
|
#endif
|
|
|