48    std::map<PCB_LAYER_ID, ZONE_LAYER_PROPERTIES> layer_properties = zoneInfo.
m_LayerProperties;
 
   68    if( dialogResult == wxID_CANCEL )
 
   88    m_pcb->GetDesignSettings().SetDefaultZoneSettings( zoneInfo );
 
 
  115        SEG firstSegment = *segIterator1;
 
  120            SEG secondSegment = *segIterator2;
 
  123            if( firstSegment.
Collide( secondSegment, 0 ) )
 
 
#define SKIP_CONNECTIVITY
 
virtual void Push(const wxString &aMessage=wxEmptyString, int aCommitFlags=0) override
Execute the changes.
 
bool SetNetCode(int aNetCode, bool aNoAssert)
Set net using a net code.
 
bool TestZoneIntersection(ZONE *aZone1, ZONE *aZone2)
Test for intersection of 2 copper areas.
 
constexpr bool Intersects(const BOX2< Vec > &aRect) const
 
COMMIT & Modify(EDA_ITEM *aItem, BASE_SCREEN *aScreen=nullptr, RECURSE_MODE aRecurse=RECURSE_MODE::NO_RECURSE)
Modify a given item in the model.
 
virtual void Update(const VIEW_ITEM *aItem, int aUpdateFlags) const override
For dynamic VIEWs, inform the associated VIEW that the graphical representation of this item has chan...
 
Handle the data for a net.
 
static const int ORPHANED
Constant that forces initialization of a netinfo item to the NETINFO_ITEM ORPHANED (typically -1) whe...
 
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
 
void rebuildConnectivity()
 
virtual KIGFX::PCB_VIEW * GetView() const override
Return a pointer to the #VIEW instance used in the panel.
 
void Edit_Zone_Params(ZONE *zone_container)
Edit params (layer, clearance, ...) for a zone outline.
 
bool Collide(const SEG &aSeg, int aClearance, int *aActual=nullptr) const
 
Represent a set of closed polygons.
 
ITERATOR IterateWithHoles(int aOutline)
 
bool Contains(const VECTOR2I &aP, int aSubpolyIndex=-1, int aAccuracy=0, bool aUseBBoxCaches=false) const
Return true if a given subpolygon contains the point aP.
 
SEGMENT_ITERATOR IterateSegmentsWithHoles()
Returns an iterator object, for all outlines in the set (with holes)
 
const BOX2I BBox(int aClearance=0) const override
Compute a bounding box of the shape, with a margin of aClearance a collision.
 
ZONE_SETTINGS handles zones parameters.
 
void ExportSetting(ZONE &aTarget, bool aFullExport=true) const
Function ExportSetting copy settings to a given zone.
 
std::map< PCB_LAYER_ID, ZONE_LAYER_PROPERTIES > m_LayerProperties
 
Handle a list of polygons defining a copper zone.
 
bool GetIsRuleArea() const
Accessors to parameters used in Rule Area zones:
 
SHAPE_POLY_SET * Outline()
 
virtual LSET GetLayerSet() const override
Return a std::bitset of all layers on which the item physically resides.
 
PCB_LAYER_ID GetFirstLayer() const
 
This file is part of the common library.
 
int InvokeCopperZonesEditor(PCB_BASE_FRAME *aCaller, ZONE_SETTINGS *aSettings, CONVERT_SETTINGS *aConvertSettings)
Function InvokeCopperZonesEditor invokes up a modal dialog window for copper zone editing.
 
int InvokeNonCopperZonesEditor(PCB_BASE_FRAME *aParent, ZONE_SETTINGS *aSettings, CONVERT_SETTINGS *aConvertSettings)
Function InvokeNonCopperZonesEditor invokes up a modal dialog window for non-copper zone editing.
 
int InvokeRuleAreaEditor(PCB_BASE_FRAME *aCaller, ZONE_SETTINGS *aZoneSettings, BOARD *aBoard, CONVERT_SETTINGS *aConvertSettings)
Function InvokeRuleAreaEditor invokes up a modal dialog window for copper zone editing.
 
bool IsCopperLayer(int aLayerId)
Test whether a layer is a copper layer.
 
std::vector< FAB_LAYER_COLOR > dummy