Remove obsolete IsKeepout and KeepoutAll functions
These are superceded by IsRuleArea and the individual keepouts
This commit is contained in:
parent
90a98478b5
commit
9fbf9973be
|
@ -1177,20 +1177,6 @@ void ZONE::TransformSmoothedOutlineToPolygon( SHAPE_POLY_SET& aCornerBuffer, int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ZONE::IsKeepout() const
|
|
||||||
{
|
|
||||||
return m_doNotAllowCopperPour || m_doNotAllowVias || m_doNotAllowTracks || m_doNotAllowPads ||
|
|
||||||
m_doNotAllowFootprints;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool ZONE::KeepoutAll() const
|
|
||||||
{
|
|
||||||
return m_doNotAllowCopperPour && m_doNotAllowVias && m_doNotAllowTracks && m_doNotAllowPads &&
|
|
||||||
m_doNotAllowFootprints;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
FP_ZONE::FP_ZONE( BOARD_ITEM_CONTAINER* aParent ) :
|
FP_ZONE::FP_ZONE( BOARD_ITEM_CONTAINER* aParent ) :
|
||||||
ZONE( aParent, true )
|
ZONE( aParent, true )
|
||||||
{
|
{
|
||||||
|
|
|
@ -717,8 +717,6 @@ public:
|
||||||
bool GetDoNotAllowTracks() const { return m_doNotAllowTracks; }
|
bool GetDoNotAllowTracks() const { return m_doNotAllowTracks; }
|
||||||
bool GetDoNotAllowPads() const { return m_doNotAllowPads; }
|
bool GetDoNotAllowPads() const { return m_doNotAllowPads; }
|
||||||
bool GetDoNotAllowFootprints() const { return m_doNotAllowFootprints; }
|
bool GetDoNotAllowFootprints() const { return m_doNotAllowFootprints; }
|
||||||
bool IsKeepout() const;
|
|
||||||
bool KeepoutAll() const;
|
|
||||||
|
|
||||||
void SetIsRuleArea( bool aEnable ) { m_isRuleArea = aEnable; }
|
void SetIsRuleArea( bool aEnable ) { m_isRuleArea = aEnable; }
|
||||||
void SetDoNotAllowCopperPour( bool aEnable ) { m_doNotAllowCopperPour = aEnable; }
|
void SetDoNotAllowCopperPour( bool aEnable ) { m_doNotAllowCopperPour = aEnable; }
|
||||||
|
|
Loading…
Reference in New Issue