Lines Matching defs:in
5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
74 void seperate_rects(const std::vector<Rect<TNum> > &in,
78 // The sweep stops at each vertical edge of each input rectangle in sorted
79 // order of x-coordinate. At each stop, the sweep line is examined in order of
83 // that set is recorded in along with the the y-coordinate it happened at in a
88 if (in.size() > IdSet<TNum>::max_elements) {
109 for (TId i = 0; i < in.size(); i++) {
110 const Rect<TNum> &rect = in[i];
127 const Rect<TNum> &rect = in[h_evt.rect_id];
225 // already started rectangle, but the set of rectangle IDs differs. In that
227 // will not be marked as seen ("true" in the std::pair) and will get ended
238 // of rectangles applies is bounded at the bottom by the next (in the
257 // event's x-coordinate. We are interested in continuing the started
280 /* inc in body */) {
296 // Remember this for loop has no built in increment step. We do it here.
303 void seperate_frects_64(const std::vector<Rect<float> > &in,
305 seperate_rects(in, out);
321 std::vector<Rect> in;
325 in.push_back({0, 0, 4, 5});
326 in.push_back({2, 0, 6, 6});
327 in.push_back({4, 0, 8, 5});
328 in.push_back({0, 7, 8, 9});
330 in.push_back({10, 0, 18, 5});
331 in.push_back({12, 0, 16, 5});
333 in.push_back({20, 11, 24, 17});
334 in.push_back({22, 13, 26, 21});
335 in.push_back({32, 33, 36, 37});
336 in.push_back({30, 31, 38, 39});
338 in.push_back({40, 43, 48, 45});
339 in.push_back({44, 41, 46, 47});
341 in.push_back({50, 51, 52, 53});
342 in.push_back({50, 51, 52, 53});
343 in.push_back({50, 51, 52, 53});
347 seperate_rects(in, &out);