/third_party/boost/boost/geometry/algorithms/detail/overlay/ |
D | copy_segment_point.hpp | 44 SegmentIdentifier const& seg_id, int offset, in apply() 64 boost::begin(view) + seg_id.segment_index, true); in apply() 80 SegmentIdentifier const& seg_id, int offset, in apply() 92 seg_id.ring_index < 0 in apply() 94 : range::at(geometry::interior_rings(polygon), seg_id.ring_index), in apply() 95 seg_id, offset, in apply() 106 SegmentIdentifier const& seg_id, int offset, in apply() 109 signed_size_type index = seg_id.segment_index; in apply() 133 SegmentIdentifier const& seg_id, int offset, in apply() 139 seg_id.multi_index >= 0 in apply() [all …]
|
D | segment_identifier.hpp | 77 friend std::ostream& operator<<(std::ostream &os, segment_identifier const& seg_id) in operator <<() argument 80 << "s:" << seg_id.source_index in operator <<() 81 << ", v:" << seg_id.segment_index // v:vertex because s is used for source in operator <<() 83 if (seg_id.ring_index >= 0) os << ", r:" << seg_id.ring_index; in operator <<() 84 if (seg_id.multi_index >= 0) os << ", m:" << seg_id.multi_index; in operator <<() 85 if (seg_id.piece_index >= 0) os << ", p:" << seg_id.piece_index; in operator <<() 104 inline ring_identifier ring_id_by_seg_id(segment_identifier const& seg_id) in ring_id_by_seg_id() argument 106 return ring_identifier(seg_id.source_index, seg_id.multi_index, seg_id.ring_index); in ring_id_by_seg_id()
|
D | copy_segments.hpp | 69 SegmentIdentifier const& seg_id, in apply() 100 signed_size_type const from_index = seg_id.segment_index + 1; in apply() 161 SegmentIdentifier const& seg_id, in apply() argument 167 signed_size_type const from_index = seg_id.segment_index + 1; in apply() 202 SegmentIdentifier const& seg_id, in apply() 211 seg_id.ring_index < 0 in apply() 213 : range::at(geometry::interior_rings(polygon), seg_id.ring_index), in apply() 214 seg_id, to_index, in apply() 235 SegmentIdentifier const& seg_id, in apply() 241 signed_size_type index = seg_id.segment_index + 1; in apply() [all …]
|
D | handle_colocations.hpp | 54 segment_identifier seg_id; member 58 : seg_id(id) in segment_fraction() 67 return seg_id == other.seg_id in operator <() 69 : seg_id < other.seg_id; in operator <() 144 return left_other_op.seg_id < right_other_op.seg_id; in operator ()() 156 segment_fraction_type seg_frac(op.seg_id, op.fraction); in get_cluster_id() 173 segment_fraction_type seg_frac(op.seg_id, op.fraction); in add_cluster_id() 249 BOOST_GEOMETRY_ASSERT(ref_op.seg_id == op.seg_id); in handle_colocation_cluster() 316 segment_fraction_type seg_frac(op.seg_id, op.fraction); in assign_cluster_to_turns() 393 inline bool is_interior(segment_identifier const& seg_id) in is_interior() argument [all …]
|
D | sort_by_side.hpp | 66 , seg_id(si) in ranked_point() 78 segment_identifier seg_id; member 111 return first.seg_id < second.seg_id; in operator ()() 292 op.seg_id, point1, point2, point3); in add() 294 add_segment(turn_index, op_index, point1, point_to, op.operation, op.seg_id, is_origin); in add() 310 = op.seg_id.source_index == departure_seg_id.source_index in add() 311 && op.seg_id.ring_index == departure_seg_id.ring_index in add() 312 && op.seg_id.multi_index == departure_seg_id.multi_index; in add() 334 if (op.seg_id.segment_index >= departure_seg_id.segment_index) in calculate_segment_distance() 337 return op.seg_id.segment_index - departure_seg_id.segment_index; in calculate_segment_distance() [all …]
|
D | enrich_intersection_points.hpp | 143 && op.seg_id == turns[next->turn_index].operations[next->operation_index].seg_id) in enrich_assign() 154 = next->subject->seg_id.segment_index; in enrich_assign() 156 if (op.seg_id.segment_index == next_op.seg_id.segment_index in enrich_assign() 185 << " seg=" << op.seg_id in enrich_assign() 236 if (op.seg_id.segment_index == next_op.seg_id.segment_index) in enrich_adapt() 240 if (op.seg_id.segment_index == prev_op.seg_id.segment_index) in enrich_adapt() 324 op_it->seg_id.source_index, in create_map() 325 op_it->seg_id.multi_index, in create_map() 326 op_it->seg_id.ring_index in create_map() 331 it->operations[1 - op_index].seg_id) in create_map()
|
D | less_by_segment_ratio.hpp | 108 left.subject->seg_id, in consider_relative_order() 146 if (! (left.subject->seg_id == right.subject->seg_id)) in operator ()() 148 return left.subject->seg_id < right.subject->seg_id; in operator ()()
|
D | traversal.hpp | 56 << " at " << op.seg_id in debug_traverse() 137 ring_identifier const ring_id = ring_id_by_seg_id(op.seg_id); in finalize_visit_info() 146 = ring_id_by_seg_id(other_op.seg_id); in finalize_visit_info() 422 && (! result || select_source(turn, op.seg_id, previous_seg_id))) in select_noncc_operation() 878 && start_op.seg_id.source_index == other_op.seg_id.source_index in change_index_for_self_turn() 879 && start_op.seg_id.multi_index == other_op.seg_id.multi_index in change_index_for_self_turn() 880 && start_op.seg_id.ring_index == other_op.seg_id.ring_index in change_index_for_self_turn() 881 && start_op.seg_id.segment_index == to_vertex_index; in change_index_for_self_turn() 888 << " start=" << start_op.seg_id.segment_index in change_index_for_self_turn() 930 previous_seg_id = previous_op.seg_id; in select_turn_from_enriched() [all …]
|
D | get_ring.hpp | 118 segment_identifier const& seg_id) in segment_count_on_ring() argument 121 ring_identifier const rid(0, seg_id.multi_index, seg_id.ring_index); in segment_count_on_ring()
|
/third_party/boost/boost/geometry/algorithms/detail/turns/ |
D | print_turns.hpp | 56 <<": seg: " << turn.operations[0].seg_id.source_index in operator ()() 57 << ", m: " << turn.operations[0].seg_id.multi_index in operator ()() 58 << ", r: " << turn.operations[0].seg_id.ring_index in operator ()() 59 << ", s: " << turn.operations[0].seg_id.segment_index; in operator ()() 70 << ": seg: " << turn.operations[1].seg_id.source_index in operator ()() 71 << ", m: " << turn.operations[1].seg_id.multi_index in operator ()() 72 << ", r: " << turn.operations[1].seg_id.ring_index in operator ()() 73 << ", s: " << turn.operations[1].seg_id.segment_index; in operator ()()
|
D | remove_duplicate_turns.hpp | 41 && t1.operations[0].seg_id == t2.operations[0].seg_id in operator ()() 42 && t1.operations[1].seg_id == t2.operations[1].seg_id; in operator ()()
|
D | compare_turns.hpp | 66 segment_identifier const& left_other_seg_id = left.operations[other_op_id].seg_id; in use_other_id() 67 segment_identifier const& right_other_seg_id = right.operations[other_op_id].seg_id; in use_other_id() 101 segment_identifier const& sl = left.operations[OpId].seg_id; in operator ()() 102 segment_identifier const& sr = right.operations[OpId].seg_id; in operator ()()
|
/third_party/boost/libs/geometry/test/ |
D | to_svg.hpp | 86 <<": seg: " << turn.operations[0].seg_id.source_index in turns_to_svg() 87 << ' ' << turn.operations[0].seg_id.multi_index in turns_to_svg() 88 << ' ' << turn.operations[0].seg_id.ring_index in turns_to_svg() 89 << ' ' << turn.operations[0].seg_id.segment_index << ", "; in turns_to_svg() 90 out << "other: " << turn.operations[1].seg_id.source_index in turns_to_svg() 91 << ' ' << turn.operations[1].seg_id.multi_index in turns_to_svg() 92 << ' ' << turn.operations[1].seg_id.ring_index in turns_to_svg() 93 << ' ' << turn.operations[1].seg_id.segment_index; in turns_to_svg() 112 << ": seg: " << turn.operations[1].seg_id.source_index in turns_to_svg() 113 << ' ' << turn.operations[1].seg_id.multi_index in turns_to_svg() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/is_valid/ |
D | debug_print_turns.hpp | 38 << turn.operations[0].seg_id.multi_index in debug_print_turn() 40 << turn.operations[1].seg_id.multi_index in debug_print_turn() 42 << turn.operations[0].seg_id.ring_index in debug_print_turn() 44 << turn.operations[1].seg_id.ring_index in debug_print_turn() 46 << turn.operations[0].seg_id.segment_index in debug_print_turn() 48 << turn.operations[1].seg_id.segment_index in debug_print_turn()
|
D | polygon.hpp | 277 if (tit->operations[0].seg_id.ring_index == -1) in are_holes_inside() 279 BOOST_GEOMETRY_ASSERT(tit->operations[1].seg_id.ring_index != -1); in are_holes_inside() 280 ring_indices.insert(tit->operations[1].seg_id.ring_index); in are_holes_inside() 282 else if (tit->operations[1].seg_id.ring_index == -1) in are_holes_inside() 284 BOOST_GEOMETRY_ASSERT(tit->operations[0].seg_id.ring_index != -1); in are_holes_inside() 285 ring_indices.insert(tit->operations[0].seg_id.ring_index); in are_holes_inside() 313 ring_indices.insert(tit->operations[0].seg_id.ring_index); in are_holes_inside() 314 ring_indices.insert(tit->operations[1].seg_id.ring_index); in are_holes_inside() 438 ( tit->operations[0].seg_id.ring_index + 1 ); in apply() 440 ( tit->operations[1].seg_id.ring_index + 1 ); in apply()
|
D | is_acceptable_turn.hpp | 106 if ( turn.operations[0].seg_id.ring_index in apply() 107 == turn.operations[1].seg_id.ring_index ) in apply() 134 if ( turn.operations[0].seg_id.multi_index in apply() 135 == turn.operations[1].seg_id.multi_index ) in apply()
|
/third_party/boost/boost/geometry/algorithms/detail/relate/ |
D | linear_areal.hpp | 347 || prev_seg_id_ptr->multi_index != it->operations[1].seg_id.multi_index ) in apply() 350 if ( it->operations[1].seg_id.ring_index > -1 ) in apply() 378 && prev_seg_id_ptr->ring_index + 1 < it->operations[1].seg_id.ring_index ) in apply() 386 prev_seg_id_ptr = boost::addressof(it->operations[1].seg_id); in apply() 473 return left.operations[0].seg_id == right.operations[0].seg_id in operator ()() 484 && left.operations[1].seg_id.multi_index == right.operations[1].seg_id.multi_index; in operator ()() 520 … return left.operations[1].seg_id.multi_index == right.operations[1].seg_id.multi_index ? in operator ()() 594 single_geometry(m_areal, it->operations[1].seg_id)) == 0; in apply() 700 segment_identifier const& seg_id = it->operations[op_id].seg_id; in apply() local 701 segment_identifier const& other_id = it->operations[other_op_id].seg_id; in apply() [all …]
|
D | areal_areal.hpp | 466 segment_identifier const& seg_id = it->operations[op_id].seg_id; in apply() local 469 const bool first_in_range = m_seg_watcher.update(seg_id); in apply() 662 inline void no_turns(segment_identifier const& seg_id) in no_turns() argument 671 range_ref = detail::sub_range(geometry, seg_id); in no_turns() 798 if ( prev->operations[OpId].seg_id.multi_index in apply() 799 == first->operations[OpId].seg_id.multi_index ) in apply() 802 if ( prev->operations[OpId].seg_id.ring_index in apply() 803 == first->operations[OpId].seg_id.ring_index ) in apply() 818 prev->operations[OpId].seg_id.ring_index + 1, in apply() 819 first->operations[OpId].seg_id.ring_index); in apply() [all …]
|
D | follow_helpers.hpp | 114 signed_size_type multi_index = it->operations[OpId].seg_id.multi_index; in for_turns() 154 segment_identifier const& seg_id() const in seg_id() function in boost::geometry::detail::relate::point_info 193 return operator()(pid.seg_id()); in operator ()() 227 bool update(segment_identifier const& seg_id) in update() argument 229 bool result = m_seg_id_ptr == 0 || !SameRange(*m_seg_id_ptr)(seg_id); in update() 230 m_seg_id_ptr = boost::addressof(seg_id); in update() 258 point_info(turn.point, turn.operations[other_op_id].seg_id) ); in enter() 267 segment_identifier const& other_id = turn.operations[other_op_id].seg_id; in exit() 304 turn.operations[other_op_id].seg_id)) in is_outside() 348 segment_identifier const& prev_seg_id = prev_turn.operations[OpId].seg_id; in turn_on_the_same_ip() [all …]
|
D | turns.hpp | 199 segment_identifier const& left_other_seg_id = left.operations[other_op_id].seg_id; in operator ()() 200 segment_identifier const& right_other_seg_id = right.operations[other_op_id].seg_id; in operator ()() 234 segment_identifier const& left_other_seg_id = left.operations[other_op_id].seg_id; in operator ()() 235 segment_identifier const& right_other_seg_id = right.operations[other_op_id].seg_id; in operator ()() 282 return left.operations[other_op_id].seg_id.multi_index in operator ()() 283 < right.operations[other_op_id].seg_id.multi_index; in operator ()() 323 segment_identifier const& sl = left.operations[OpId].seg_id; in operator ()() 324 segment_identifier const& sr = right.operations[OpId].seg_id; in operator ()()
|
D | linear_linear.hpp | 299 segment_identifier const& seg_id = it->operations[op_id].seg_id; in apply() local 300 segment_identifier const& other_id = it->operations[other_op_id].seg_id; in apply() 302 bool const first_in_range = m_seg_watcher.update(seg_id); in apply() 392 seg_id); in apply() 429 range::front(sub_range(geometry, seg_id)), in apply() 517 range::front(sub_range(geometry, seg_id)), in apply() 533 seg_id); in apply() 576 range::front(sub_range(geometry, seg_id)), in apply() 631 segment_identifier const& prev_seg_id = turn_ptr->operations[op_id].seg_id; in apply() 680 ls1_ref = detail::single_geometry(geometry, turn.operations[op_id].seg_id); in handle_degenerated() [all …]
|
/third_party/boost/boost/geometry/policies/is_valid/ |
D | failing_reason_policy.hpp | 141 segment_identifier seg_id) in apply_to_segment_identifier() 143 oss << "{" << seg_id.source_index in apply_to_segment_identifier() 144 << ", " << seg_id.multi_index in apply_to_segment_identifier() 145 << ", " << seg_id.ring_index in apply_to_segment_identifier() 146 << ", " << seg_id.segment_index in apply_to_segment_identifier() 164 apply_to_segment_identifier(oss, turn.operations[0].seg_id); in apply() 166 apply_to_segment_identifier(oss, turn.operations[1].seg_id); in apply()
|
/third_party/boost/boost/geometry/algorithms/detail/ |
D | occupation_info.hpp | 44 segment_identifier seg_id; member 77 segment_identifier const& seg_id) in add() argument 90 info.seg_id = seg_id; in add() 189 segment_identifier seg_id, in add_incoming_and_outgoing_angles() argument 192 segment_identifier real_seg_id = seg_id; in add_incoming_and_outgoing_angles()
|
/third_party/boost/boost/geometry/algorithms/detail/is_simple/ |
D | linear.hpp | 69 (turn.operations[0].seg_id.segment_index == 0 in check_segment_indices() 70 && turn.operations[1].seg_id.segment_index == last_index) in check_segment_indices() 72 (turn.operations[0].seg_id.segment_index == 0 in check_segment_indices() 73 && turn.operations[1].seg_id.segment_index == last_index); in check_segment_indices() 178 range::at(m_multilinestring, turn.operations[0].seg_id.multi_index); in apply() 181 range::at(m_multilinestring, turn.operations[1].seg_id.multi_index); in apply() 183 if (turn.operations[0].seg_id.multi_index in apply() 184 == turn.operations[1].seg_id.multi_index) in apply()
|
/third_party/boost/boost/geometry/algorithms/detail/buffer/ |
D | get_piece_turns.hpp | 245 the_model.operations[0].seg_id = piece1.first_seg_id; in calculate_turns() 246 the_model.operations[0].seg_id.segment_index = index1; // override in calculate_turns() 251 prev1 = it1++, the_model.operations[0].seg_id.segment_index++) in calculate_turns() 254 the_model.operations[1].seg_id = piece2.first_seg_id; in calculate_turns() 255 the_model.operations[1].seg_id.segment_index = index2; // override in calculate_turns() 262 prev2 = it2++, the_model.operations[1].seg_id.segment_index++) in calculate_turns()
|