KiCad PCB EDA Suite
Loading...
Searching...
No Matches
board_item.h File Reference
#include <core/mirror.h>
#include <eda_item.h>
#include <geometry/approximation.h>
#include <layer_ids.h>
#include <lseq.h>
#include <lset.h>
#include <stroke_params.h>
#include <geometry/eda_angle.h>

Go to the source code of this file.

Classes

class  BOARD_ITEM
 A base class for any item which can be embedded within the BOARD container class, and therefore instances of derived classes should only be found in Pcbnew or other programs that use class BOARD and its contents. More...
 
struct  BOARD_ITEM::ptr_cmp
 
class  DELETED_BOARD_ITEM
 A singleton item of this class is returned for a weak reference that no longer exists. More...
 

Namespaces

namespace  KIFONT
 

Enumerations

enum  ZONE_LAYER_OVERRIDE { ZLO_NONE , ZLO_FORCE_FLASHED , ZLO_FORCE_NO_ZONE_CONNECTION }
 Conditionally flashed vias and pads that interact with zones of different priority can be very squirrelly. More...
 

Functions

 DECLARE_ENUM_TO_WXANY (PCB_LAYER_ID)
 

Enumeration Type Documentation

◆ ZONE_LAYER_OVERRIDE

Conditionally flashed vias and pads that interact with zones of different priority can be very squirrelly.

In particular, when filling a higher-priority zone that does -not- connect to a via/pad, we don't know whether or not a lower-priority zone will subsequently connect – so we can't determine clearance because we don't know what the final flashing state will be.

We therefore force the flashing state if the highest-priority zone with the same net -can- connect (whether or not it does in the end), and otherwise force the zone-connection state to no-connection (even though a lower priority zone -might- have otherwise connected to it.

Enumerator
ZLO_NONE 
ZLO_FORCE_FLASHED 
ZLO_FORCE_NO_ZONE_CONNECTION 

Definition at line 65 of file board_item.h.

Function Documentation

◆ DECLARE_ENUM_TO_WXANY()

DECLARE_ENUM_TO_WXANY ( PCB_LAYER_ID  )