mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 12:12:10 +00:00
[buffer] remove more now unused functionality
This commit is contained in:
@@ -134,13 +134,9 @@ struct buffer_turn_info
|
||||
|
||||
intersection_location_type location;
|
||||
|
||||
int priority;
|
||||
int count_within;
|
||||
int count_on_occupied;
|
||||
int count_on_multi;
|
||||
#if defined(BOOST_GEOMETRY_COUNT_DOUBLE_UU)
|
||||
int count_on_uu;
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_GEOMETRY_DEBUG_WITH_MAPPER
|
||||
std::string debug_string;
|
||||
@@ -149,13 +145,9 @@ struct buffer_turn_info
|
||||
inline buffer_turn_info()
|
||||
: is_opposite(false)
|
||||
, location(location_ok)
|
||||
, priority(0)
|
||||
, count_within(0)
|
||||
, count_on_occupied(0)
|
||||
, count_on_multi(0)
|
||||
#if defined(BOOST_GEOMETRY_COUNT_DOUBLE_UU)
|
||||
, count_on_uu(0)
|
||||
#endif
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
@@ -366,24 +366,6 @@ struct buffered_piece_collection
|
||||
{
|
||||
std::cout << "-";
|
||||
}
|
||||
#if defined(BOOST_GEOMETRY_COUNT_DOUBLE_UU)
|
||||
else
|
||||
{
|
||||
it->count_on_uu++;
|
||||
}
|
||||
#endif
|
||||
#ifdef BOOST_GEOMETRY_DEBUG_BUFFER_OCCUPATION
|
||||
//std::cout << "Keep " << *sit
|
||||
// << " "<< si(m_turns[*sit].operations[0].seg_id)
|
||||
// << " "<< si(m_turns[*sit].operations[1].seg_id)
|
||||
// << " " << m_turns[*sit].operations[0].piece_index
|
||||
// << "/" << m_turns[*sit].operations[1].piece_index
|
||||
// << " " << method_char(m_turns[*sit].method)
|
||||
// << " " << operation_char(m_turns[*sit].operations[0].operation)
|
||||
// << "/" << operation_char(m_turns[*sit].operations[1].operation)
|
||||
//<< std::endl;
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -558,16 +540,6 @@ struct buffered_piece_collection
|
||||
{
|
||||
it->location = inside_buffer;
|
||||
}
|
||||
|
||||
#if defined(BOOST_GEOMETRY_COUNT_DOUBLE_UU)
|
||||
else if (it->count_on_uu > 0)
|
||||
{
|
||||
extern int g_count_double_uu;
|
||||
g_count_double_uu++;
|
||||
std::cout << "UU";
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user