mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-10 23:42:12 +00:00
[buffer] remove now unused functionality
This commit is contained in:
@@ -90,15 +90,10 @@ public :
|
||||
std::vector<detail::left_turns::turn_angle_info<typename AngleInfo::point_type> > turns;
|
||||
int m_count;
|
||||
|
||||
private :
|
||||
bool m_occupied;
|
||||
bool m_calculated;
|
||||
|
||||
public :
|
||||
inline occupation_info()
|
||||
: m_count(0)
|
||||
, m_occupied(false)
|
||||
, m_calculated(false)
|
||||
{}
|
||||
|
||||
template <typename RobustPoint>
|
||||
@@ -136,8 +131,6 @@ public :
|
||||
}
|
||||
detail::left_turns::turn_angle_info<typename AngleInfo::point_type> turn(seg_id, incoming_point, outgoing_point);
|
||||
turns.push_back(turn);
|
||||
|
||||
m_calculated = false;
|
||||
}
|
||||
|
||||
template <typename RobustPoint>
|
||||
|
||||
@@ -142,8 +142,6 @@ struct buffer_turn_info
|
||||
int count_on_uu;
|
||||
#endif
|
||||
|
||||
std::set<int> piece_indices_to_skip;
|
||||
|
||||
#ifdef BOOST_GEOMETRY_DEBUG_WITH_MAPPER
|
||||
std::string debug_string;
|
||||
#endif
|
||||
|
||||
@@ -318,15 +318,6 @@ struct buffered_piece_collection
|
||||
return;
|
||||
}
|
||||
|
||||
// Don't check against a piece of which is was preferred in the "situations" for multi - map
|
||||
if (turn.piece_indices_to_skip.count(pc.index) > 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
segment_identifier seg_id = pc.first_seg_id;
|
||||
BOOST_ASSERT(seg_id.segment_index >= 0);
|
||||
|
||||
int const geometry_code = detail::within::point_in_geometry(turn.robust_point, pc.robust_ring);
|
||||
|
||||
if (geometry_code == 1)
|
||||
@@ -387,32 +378,6 @@ struct buffered_piece_collection
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
struct cluster_info
|
||||
{
|
||||
inline cluster_info(int i, point_type p, buffer_turn_operation_type op)
|
||||
: turn_index(i)
|
||||
, point(p)
|
||||
, operation(op)
|
||||
{}
|
||||
|
||||
inline cluster_info()
|
||||
: turn_index(-1)
|
||||
{}
|
||||
|
||||
int turn_index;
|
||||
point_type point;
|
||||
buffer_turn_operation_type operation;
|
||||
};
|
||||
|
||||
struct clustered_info
|
||||
{
|
||||
int piece_index;
|
||||
std::set<segment_identifier> intersecting_ids;
|
||||
std::vector<cluster_info> intersecting_segments;
|
||||
};
|
||||
|
||||
|
||||
inline void get_occupation()
|
||||
{
|
||||
// 1: Add all intersection points to occupation map
|
||||
|
||||
Reference in New Issue
Block a user