| 68 | |
| 69 | |
| 70 | BOX2D SplitterFilter::bounds(const Coord& coord) const |
| 71 | { |
| 72 | const int& xpos = coord.first; |
| 73 | const int& ypos = coord.second; |
| 74 | |
| 75 | double minx = m_xOrigin + xpos * m_length; |
| 76 | double maxx = minx + m_length; |
| 77 | double miny = m_yOrigin + ypos * m_length; |
| 78 | double maxy = miny + m_length; |
| 79 | |
| 80 | return BOX2D(minx, miny, maxx, maxy); |
| 81 | } |
| 82 | |
| 83 | |
| 84 | BOX2D SplitterFilter::bufferedBounds(const Coord& coord) const |
no test coverage detected