Moved one-liners to header files
This commit is contained in:
parent
3dd4429ef6
commit
74ef3ecb1d
|
@ -273,12 +273,6 @@ void CONNECTIVITY_DATA::ComputeDynamicRatsnest( const std::vector<BOARD_ITEM*>&
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const std::vector<RN_DYNAMIC_LINE>& CONNECTIVITY_DATA::GetDynamicRatsnest() const
|
|
||||||
{
|
|
||||||
return m_dynamicRatsnest;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void CONNECTIVITY_DATA::ClearDynamicRatsnest()
|
void CONNECTIVITY_DATA::ClearDynamicRatsnest()
|
||||||
{
|
{
|
||||||
m_connAlgo->ForEachAnchor( [] (CN_ANCHOR_PTR anchor ) { anchor->SetNoLine( false ); } );
|
m_connAlgo->ForEachAnchor( [] (CN_ANCHOR_PTR anchor ) { anchor->SetNoLine( false ); } );
|
||||||
|
|
|
@ -183,8 +183,10 @@ public:
|
||||||
*/
|
*/
|
||||||
void ComputeDynamicRatsnest( const std::vector<BOARD_ITEM*>& aItems );
|
void ComputeDynamicRatsnest( const std::vector<BOARD_ITEM*>& aItems );
|
||||||
|
|
||||||
|
const std::vector<RN_DYNAMIC_LINE>& GetDynamicRatsnest() const
|
||||||
const std::vector<RN_DYNAMIC_LINE>& GetDynamicRatsnest() const;
|
{
|
||||||
|
return m_dynamicRatsnest;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function GetConnectedItems()
|
* Function GetConnectedItems()
|
||||||
|
|
|
@ -429,12 +429,6 @@ bool RN_NET::NearestBicoloredPair( const RN_NET& aOtherNet, CN_ANCHOR_PTR& aNode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
unsigned int RN_NET::GetNodeCount() const
|
|
||||||
{
|
|
||||||
return m_nodes.size();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void RN_NET::SetVisible( bool aEnabled )
|
void RN_NET::SetVisible( bool aEnabled )
|
||||||
{
|
{
|
||||||
for( auto& edge : m_rnEdges )
|
for( auto& edge : m_rnEdges )
|
||||||
|
|
|
@ -109,7 +109,10 @@ public:
|
||||||
|
|
||||||
void AddCluster( std::shared_ptr<CN_CLUSTER> aCluster );
|
void AddCluster( std::shared_ptr<CN_CLUSTER> aCluster );
|
||||||
|
|
||||||
unsigned int GetNodeCount() const;
|
unsigned int GetNodeCount() const
|
||||||
|
{
|
||||||
|
return m_nodes.size();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function GetNodes()
|
* Function GetNodes()
|
||||||
|
|
Loading…
Reference in New Issue