router: Clear() method for PNS::LINE

This commit is contained in:
Tomasz Wlostowski 2020-02-19 18:22:09 +01:00
parent dbe90e163e
commit 43b71cd9e3
2 changed files with 11 additions and 0 deletions

View File

@ -941,4 +941,12 @@ bool LINE::HasLockedSegments() const
return false;
}
void LINE::Clear()
{
m_hasVia = false;
m_line.Clear();
}
}

View File

@ -293,6 +293,9 @@ public:
bool HasLoops() const;
bool HasLockedSegments() const;
void Clear();
void Merge ( const LINE& aOther );
OPT_BOX2I ChangedArea( const LINE* aOther ) const;
void SetSnapThreshhold( int aThreshhold )