remove a message printed only for debug/test.
This commit is contained in:
parent
e26625fc99
commit
8d18f289c7
|
@ -236,10 +236,11 @@ bool ZONE_FILLER::Fill( const std::vector<ZONE_CONTAINER*>& aZones, bool aCheck
|
||||||
// insulated islands
|
// insulated islands
|
||||||
for( auto idx : zone.m_islands )
|
for( auto idx : zone.m_islands )
|
||||||
{
|
{
|
||||||
|
#if 0 // for tests only
|
||||||
double metricMin = minArea * ( MM_PER_IU * MM_PER_IU );
|
double metricMin = minArea * ( MM_PER_IU * MM_PER_IU );
|
||||||
double metricArea = poly.Outline( idx ).Area() * ( MM_PER_IU * MM_PER_IU );
|
double metricArea = poly.Outline( idx ).Area() * ( MM_PER_IU * MM_PER_IU );
|
||||||
|
|
||||||
std::cout << ( metricArea < metricMin ) << std::endl;
|
std::cout << ( metricArea < metricMin ) << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
if( mode == ISLAND_REMOVAL_MODE::ALWAYS
|
if( mode == ISLAND_REMOVAL_MODE::ALWAYS
|
||||||
|| ( mode == ISLAND_REMOVAL_MODE::AREA
|
|| ( mode == ISLAND_REMOVAL_MODE::AREA
|
||||||
|
|
Loading…
Reference in New Issue