Searched refs:current_edge (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include/mapbox/geometry/wagyu/ |
| H A D | snap_rounding.hpp | 28 if (!get_edge_intersection<T, double>(*(b1->current_edge), *(b2->current_edge), pt)) { in operator ()() 55 auto& current_edge = (*bnd_curr)->current_edge; in horizontals_at_top_scanbeam() local 56 (*bnd_curr)->current_x = static_cast<double>(current_edge->top.x); in horizontals_at_top_scanbeam() 57 if (current_edge->bot.x < current_edge->top.x) { in horizontals_at_top_scanbeam() 62 if (*bnd_next != nullptr && (*bnd_next)->current_edge->top.y != top_y && in horizontals_at_top_scanbeam() 63 (*bnd_next)->current_edge->bot.y != top_y) { in horizontals_at_top_scanbeam() 78 if (*bnd_prev != nullptr && (*bnd_prev)->current_edge->top.y != top_y && in horizontals_at_top_scanbeam() 79 (*bnd_prev)->current_edge->bot.y != top_y) { in horizontals_at_top_scanbeam() 107 auto& current_edge = current_bound.current_edge; in process_hot_pixel_edges_at_top_of_scanbeam() local 108 while (current_edge != current_bound.edges.end() && current_edge->top.y == top_y) { in process_hot_pixel_edges_at_top_of_scanbeam() [all …]
|
| H A D | active_bound_list.hpp | 54 out << "[[" << bnd->current_edge->bot.x << "," << bnd->current_edge->bot.y << "],["; in output_edges() 55 out << bnd->current_edge->top.x << "," << bnd->current_edge->top.y << "]]"; in output_edges() 96 if (bound2.current_edge->top.y > bound1.current_edge->top.y) { in operator ()() 97 return static_cast<double>(bound2.current_edge->top.x) < in operator ()() 98 get_current_x(*(bound1.current_edge), bound2.current_edge->top.y); in operator ()() 100 return static_cast<double>(bound1.current_edge->top.x) > in operator ()() 101 get_current_x(*(bound2.current_edge), bound1.current_edge->top.y); in operator ()() 120 return bnd.next_edge == bnd.edges.end() && bnd.current_edge->top.y == y; in is_maxima() 130 return bnd.next_edge != bnd.edges.end() && bnd.current_edge->top.y == y; in is_intermediate() 140 return is_horizontal(*((*bnd)->current_edge)); in current_edge_is_horizontal() [all …]
|
| H A D | process_horizontal.hpp | 36 (hp_itr->y == scanline_y && hp_itr->x < (*horz_bound)->current_edge->bot.x))) { in process_horizontal_left_to_right() 52 hp_itr->x < (*horz_bound)->current_edge->top.x) { in process_horizontal_left_to_right() 59 if ((*bnd)->current_x > static_cast<double>((*horz_bound)->current_edge->top.x)) { in process_horizontal_left_to_right() 65 if (wround<T>((*bnd)->current_x) == (*horz_bound)->current_edge->top.x && in process_horizontal_left_to_right() 67 (*horz_bound)->current_edge->dx < (*horz_bound)->next_edge->dx) { in process_horizontal_left_to_right() 83 (*horz_bound)->current_edge->top, rings, active_bounds); in process_horizontal_left_to_right() 104 hp_itr->x < (*horz_bound)->current_edge->top.x) { in process_horizontal_left_to_right() 111 add_point_to_ring(*(*horz_bound), (*horz_bound)->current_edge->top, rings); in process_horizontal_left_to_right() 146 (hp_itr_fwd->y == scanline_y && hp_itr_fwd->x < (*horz_bound_fwd)->current_edge->top.x))) { in process_horizontal_right_to_left() 162 hp_itr->x > (*horz_bound)->current_edge->top.x) { in process_horizontal_right_to_left() [all …]
|
| H A D | process_maxima.hpp | 36 intersect_bounds(*(*bnd), *(*bnd_next), (*bnd)->current_edge->top, cliptype, in do_maxima() 44 add_local_maximum_point(*(*bnd), *(*bndMaxPair), (*bnd)->current_edge->top, manager, in do_maxima() 93 insert_hot_pixels_in_path(*(*bnd), (*bnd)->current_edge->top, manager, false); in process_edges_at_top_of_scanbeam() 97 add_point_to_ring(*(*bnd), (*bnd)->current_edge->bot, manager); in process_edges_at_top_of_scanbeam() 100 (*bnd)->current_x = get_current_x(*((*bnd)->current_edge), top_y); in process_edges_at_top_of_scanbeam() 119 add_point_to_ring(*(*bnd), (*bnd)->current_edge->top, manager); in process_edges_at_top_of_scanbeam()
|
| H A D | bound.hpp | 23 edge_list_itr<T> current_edge; member 38 current_edge(edges.end()), in bound() 54 current_edge(std::move(b.current_edge)), in bound() 81 out << *(bnd.current_edge); in operator <<()
|
| H A D | local_minimum_util.hpp | 303 (*lm)->left_bound.current_edge = (*lm)->left_bound.edges.begin(); in initialize_lm() 304 (*lm)->left_bound.next_edge = std::next((*lm)->left_bound.current_edge); in initialize_lm() 305 (*lm)->left_bound.current_x = static_cast<double>((*lm)->left_bound.current_edge->bot.x); in initialize_lm() 312 (*lm)->right_bound.current_edge = (*lm)->right_bound.edges.begin(); in initialize_lm() 313 (*lm)->right_bound.next_edge = std::next((*lm)->right_bound.current_edge); in initialize_lm() 314 (*lm)->right_bound.current_x = static_cast<double>((*lm)->right_bound.current_edge->bot.x); in initialize_lm()
|
| H A D | intersect_util.hpp | 83 !slopes_equal(*(b1->current_edge), *(b2->current_edge))); in operator ()() 97 if (!get_edge_intersection<T, double>(*(b1->current_edge), *(b2->current_edge), pt)) { in operator ()() 337 bnd->current_x = get_current_x(*bnd->current_edge, top_y); in update_current_x()
|
| H A D | ring_util.hpp | 171 T x_min = get_edge_min_x(*(bnd.current_edge), y); in hot_pixel_set_left_to_right() 173 T x_max = get_edge_max_x(*(bnd.current_edge), y); in hot_pixel_set_left_to_right() 208 T x_min = get_edge_min_x(*(bnd.current_edge), y); in hot_pixel_set_right_to_left() 210 T x_max = get_edge_max_x(*(bnd.current_edge), y); in hot_pixel_set_right_to_left() 362 if (is_horizontal(*b2.current_edge) || (b1.current_edge->dx > b2.current_edge->dx)) { in add_local_minimum_point()
|