router: Clear() method for PNS::LINE
This commit is contained in:
parent
dbe90e163e
commit
43b71cd9e3
|
@ -941,4 +941,12 @@ bool LINE::HasLockedSegments() const
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void LINE::Clear()
|
||||||
|
{
|
||||||
|
m_hasVia = false;
|
||||||
|
m_line.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -293,6 +293,9 @@ public:
|
||||||
bool HasLoops() const;
|
bool HasLoops() const;
|
||||||
bool HasLockedSegments() const;
|
bool HasLockedSegments() const;
|
||||||
|
|
||||||
|
void Clear();
|
||||||
|
void Merge ( const LINE& aOther );
|
||||||
|
|
||||||
OPT_BOX2I ChangedArea( const LINE* aOther ) const;
|
OPT_BOX2I ChangedArea( const LINE* aOther ) const;
|
||||||
|
|
||||||
void SetSnapThreshhold( int aThreshhold )
|
void SetSnapThreshhold( int aThreshhold )
|
||||||
|
|
Loading…
Reference in New Issue