|
|
@ -141,8 +141,8 @@ void DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances() |
|
|
|
break; |
|
|
|
|
|
|
|
FOOTPRINT* footprint = *it1; |
|
|
|
SHAPE_POLY_SET& footprintFront = footprint->GetPolyCourtyardFront(); |
|
|
|
SHAPE_POLY_SET& footprintBack = footprint->GetPolyCourtyardBack(); |
|
|
|
const SHAPE_POLY_SET& footprintFront = footprint->GetPolyCourtyardFront(); |
|
|
|
const SHAPE_POLY_SET& footprintBack = footprint->GetPolyCourtyardBack(); |
|
|
|
|
|
|
|
if( footprintFront.OutlineCount() == 0 && footprintBack.OutlineCount() == 0 ) |
|
|
|
continue; // No courtyards defined
|
|
|
@ -156,8 +156,8 @@ void DRC_TEST_PROVIDER_COURTYARD_CLEARANCE::testCourtyardClearances() |
|
|
|
for( auto it2 = it1 + 1; it2 != m_board->Footprints().end(); it2++ ) |
|
|
|
{ |
|
|
|
FOOTPRINT* test = *it2; |
|
|
|
SHAPE_POLY_SET& testFront = test->GetPolyCourtyardFront(); |
|
|
|
SHAPE_POLY_SET& testBack = test->GetPolyCourtyardBack(); |
|
|
|
const SHAPE_POLY_SET& testFront = test->GetPolyCourtyardFront(); |
|
|
|
const SHAPE_POLY_SET& testBack = test->GetPolyCourtyardBack(); |
|
|
|
DRC_CONSTRAINT constraint; |
|
|
|
int clearance; |
|
|
|
int actual; |
|
|
|