KiCad PCB EDA Suite
pcb_track.h File Reference
#include <mutex>
#include <board_connected_item.h>
#include <base_units.h>
#include <geometry/shape_segment.h>
#include <core/minoptmax.h>
#include <core/arraydim.h>

Go to the source code of this file.

Classes

class  PCB_TRACK
 
struct  PCB_TRACK::cmp_tracks
 
class  PCB_ARC
 
class  PCB_VIA
 

Macros

#define UNDEFINED_DRILL_DIAMETER   -1
 
#define GEOMETRY_MIN_SIZE   (int) ( 0.001 * pcbIUScale.IU_PER_MM )
 

Enumerations

enum  ENDPOINT_T : int { ENDPOINT_START = 0 , ENDPOINT_END = 1 }
 
enum class  VIATYPE : int { THROUGH = 3 , BLIND_BURIED = 2 , MICROVIA = 1 , NOT_DEFINED = 0 }
 

Macro Definition Documentation

◆ GEOMETRY_MIN_SIZE

#define GEOMETRY_MIN_SIZE   (int) ( 0.001 * pcbIUScale.IU_PER_MM )

Definition at line 75 of file pcb_track.h.

◆ UNDEFINED_DRILL_DIAMETER

#define UNDEFINED_DRILL_DIAMETER   -1

Definition at line 72 of file pcb_track.h.

Enumeration Type Documentation

◆ ENDPOINT_T

enum ENDPOINT_T : int
Enumerator
ENDPOINT_START 
ENDPOINT_END 

Definition at line 55 of file pcb_track.h.

56{
58 ENDPOINT_END = 1
59};
@ ENDPOINT_END
Definition: pcb_track.h:58
@ ENDPOINT_START
Definition: pcb_track.h:57

◆ VIATYPE

enum class VIATYPE : int
strong
Enumerator
THROUGH 
BLIND_BURIED 
MICROVIA 
NOT_DEFINED 

Definition at line 63 of file pcb_track.h.

64{
65 THROUGH = 3, /* Always a through hole via */
66 BLIND_BURIED = 2, /* this via can be on internal layers */
67 MICROVIA = 1, /* this via which connect from an external layer
68 * to the near neighbor internal layer */
69 NOT_DEFINED = 0 /* not yet used */
70};
@ BLIND_BURIED
@ MICROVIA
Microvia.
Definition: router_tool.cpp:91