20 #ifndef DLL_CIRCLE_HPP
21 #define DLL_CIRCLE_HPP
40 typedef std::pair<size_t, size_t> Coordinates;
48 void addInPoint (
const Coordinates & xy) { addPointToSet(xy, setIn); }
54 void addDownPoint(
const Coordinates & xy) { addPointToSet(xy, setDown); }
60 void addUpPoint (
const Coordinates & xy) { addPointToSet(xy, setUp); }
77 void addPointToSet(
const Coordinates & xy, std::vector<Point> &
set);
82 std::vector<Point> setIn;
83 std::vector<Point> setDown;
84 std::vector<Point> setUp;
86 double cx, cy, radius_above, radius_below;
91 #endif // DLL_CIRCLE_HPP