Skip to content

Commit

Permalink
Remove BOOST_GEOMETRY_DEBUG_ASSEMBLE
Browse files Browse the repository at this point in the history
  • Loading branch information
vissarion committed Aug 9, 2024
1 parent 6bee542 commit 9694cb5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
15 changes: 0 additions & 15 deletions include/boost/geometry/algorithms/detail/overlay/overlay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@

#include <boost/geometry/util/condition.hpp>

#ifdef BOOST_GEOMETRY_DEBUG_ASSEMBLE
# include <boost/geometry/io/dsv/write.hpp>
#endif


namespace boost { namespace geometry
{
Expand Down Expand Up @@ -272,9 +268,6 @@ struct overlay

turn_container_type turns;

#ifdef BOOST_GEOMETRY_DEBUG_ASSEMBLE
std::cout << "get turns" << std::endl;
#endif
detail::get_turns::no_interrupt_policy policy;
geometry::get_turns
<
Expand Down Expand Up @@ -302,11 +295,6 @@ std::cout << "get turns" << std::endl;
}
#endif


#ifdef BOOST_GEOMETRY_DEBUG_ASSEMBLE
std::cout << "enrich" << std::endl;
#endif

cluster_type clusters;
std::map<ring_identifier, ring_turn_info> turn_info_per_ring;

Expand All @@ -317,9 +305,6 @@ std::cout << "enrich" << std::endl;

visitor.visit_clusters(clusters, turns);

#ifdef BOOST_GEOMETRY_DEBUG_ASSEMBLE
std::cout << "traverse" << std::endl;
#endif
// Traverse through intersection/turn points and create rings of them.
// These rings are always in clockwise order.
// In CCW polygons they are marked as "to be reversed" below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <iostream>
#include <string>

//#define BOOST_GEOMETRY_DEBUG_ASSEMBLE
//#define BOOST_GEOMETRY_CHECK_WITH_SQLSERVER

//#define BOOST_GEOMETRY_DEBUG_SEGMENT_IDENTIFIER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ std::string test_difference(std::string const& caseid, G1 const& g1, G2 const& g

difference_output(caseid, g1, g2, result);

#if ! (defined(BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE) \
|| defined(BOOST_GEOMETRY_DEBUG_ASSEMBLE))
#if ! defined(BOOST_GEOMETRY_TEST_ONLY_ONE_TYPE)
{
// Test inserter functionality
// Test if inserter returns output-iterator (using Boost.Range copy)
Expand Down

0 comments on commit 9694cb5

Please sign in to comment.