diff --git a/pcbnew/zone.cpp b/pcbnew/zone.cpp index 939bbc8d3c..67f0993b84 100644 --- a/pcbnew/zone.cpp +++ b/pcbnew/zone.cpp @@ -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 ) : ZONE( aParent, true ) { diff --git a/pcbnew/zone.h b/pcbnew/zone.h index c29c30c21c..24b80c32f7 100644 --- a/pcbnew/zone.h +++ b/pcbnew/zone.h @@ -717,8 +717,6 @@ public: bool GetDoNotAllowTracks() const { return m_doNotAllowTracks; } bool GetDoNotAllowPads() const { return m_doNotAllowPads; } bool GetDoNotAllowFootprints() const { return m_doNotAllowFootprints; } - bool IsKeepout() const; - bool KeepoutAll() const; void SetIsRuleArea( bool aEnable ) { m_isRuleArea = aEnable; } void SetDoNotAllowCopperPour( bool aEnable ) { m_doNotAllowCopperPour = aEnable; }