39 typedef std::pair<size_t, size_t> Coordinates;
47 void addInPoint (
const Coordinates & xy) { addPointToSet(xy, setIn); }
53 void addDownPoint(
const Coordinates & xy) { addPointToSet(xy, setDown); }
59 void addUpPoint (
const Coordinates & xy) { addPointToSet(xy, setUp); }
73 friend std::ostream &
operator<<(std::ostream & out,
const Conic & conic);
76 void addPointToSet(
const Coordinates & xy, std::vector<Point> &
set);
79 std::vector<Point> setIn;
80 std::vector<Point> setDown;
81 std::vector<Point> setUp;
83 double a, b, c, d, e, lower_bound, upper_bound;
88 #endif // DLL_CONIC_HPP