1 /** @file line_real_set_t.cpp
2 @package snark14Display
3 @author Bruno M. Carvalho and Deniz Sarioz
4 @description implementation of functions in line_real_set_t class
5 licensed under (open-source) QPL v1.0
6 which accompanies this distribution in the file QPL
11 #include "verbosity.hpp"
12 #include "line_real_set_t.hpp"
13 #include "line_real_t.hpp"
15 line_real_set_t::line_real_set_t(int minXin, int maxXin, double minYin, double maxYin) {
22 void line_real_set_t::add(line_real_t& line_real) {
23 line_real.setset(this);
24 data.push_back(line_real);
25 if(std::verbose > 2) {
27 // std::cerr << " $$Added a line_real_t to line_real_set_t " << this << " $$ ";
29 } // line_real_set_t::add()
31 bool line_real_set_t::empty() { return data.empty(); }
32 void line_real_set_t::clear() { data.clear(); }
33 int line_real_set_t::getMinX() { return minX; }
34 int line_real_set_t::getMaxX() { return maxX; }
35 double line_real_set_t::getMinY() { return minY; }
36 double line_real_set_t::getMaxY() { return maxY; }