Remove unused OBSTACLE_VISITOR::m_extraClearance
This commit is contained in:
parent
3e96fb851c
commit
075bd788eb
|
@ -97,7 +97,7 @@ public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Epsilon for DRC tests. Note that for zone tests this is essentially additive with
|
* Epsilon for DRC tests. Note that for zone tests this is essentially additive with
|
||||||
* m_extraClearance. Units are mm.
|
* m_ExtraClearance. Units are mm.
|
||||||
*/
|
*/
|
||||||
double m_DRCEpsilon;
|
double m_DRCEpsilon;
|
||||||
|
|
||||||
|
|
|
@ -169,8 +169,7 @@ void NODE::unlinkParent()
|
||||||
OBSTACLE_VISITOR::OBSTACLE_VISITOR( const ITEM* aItem ) :
|
OBSTACLE_VISITOR::OBSTACLE_VISITOR( const ITEM* aItem ) :
|
||||||
m_item( aItem ),
|
m_item( aItem ),
|
||||||
m_node( NULL ),
|
m_node( NULL ),
|
||||||
m_override( NULL ),
|
m_override( NULL )
|
||||||
m_extraClearance( 0 )
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -212,10 +211,6 @@ struct NODE::DEFAULT_OBSTACLE_VISITOR : public OBSTACLE_VISITOR
|
||||||
m_matchCount( 0 ),
|
m_matchCount( 0 ),
|
||||||
m_differentNetsOnly( aDifferentNetsOnly )
|
m_differentNetsOnly( aDifferentNetsOnly )
|
||||||
{
|
{
|
||||||
if( aItem && aItem->Kind() == ITEM::LINE_T )
|
|
||||||
{
|
|
||||||
m_extraClearance += static_cast<const LINE*>( aItem )->Width() / 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~DEFAULT_OBSTACLE_VISITOR()
|
virtual ~DEFAULT_OBSTACLE_VISITOR()
|
||||||
|
|
|
@ -130,7 +130,6 @@ protected:
|
||||||
|
|
||||||
const NODE* m_node; ///< node we are searching in (either root or a branch)
|
const NODE* m_node; ///< node we are searching in (either root or a branch)
|
||||||
const NODE* m_override; ///< node that overrides root entries
|
const NODE* m_override; ///< node that overrides root entries
|
||||||
int m_extraClearance; ///< additional clearance
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue