KiCad PCB EDA Suite
class_track.h File Reference

Definitions for tracks, vias and zones. More...

#include <board_connected_item.h>
#include <class_board_item.h>
#include <convert_to_biu.h>
#include <pcb_display_options.h>
#include <pcbnew.h>
#include <geometry/seg.h>
#include <geometry/shape_arc.h>
#include <trigo.h>

Go to the source code of this file.

Classes

class  TRACK
 
class  ARC
 
class  VIA
 

Macros

#define UNDEFINED_DRILL_DIAMETER   -1
 
#define MIN_VIA_DRAW_SIZE   4
 
#define GEOMETRY_MIN_SIZE   ( int )( 0.001 * IU_PER_MM )
 

Enumerations

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

Detailed Description

Definitions for tracks, vias and zones.

Definition in file class_track.h.

Macro Definition Documentation

◆ GEOMETRY_MIN_SIZE

#define GEOMETRY_MIN_SIZE   ( int )( 0.001 * IU_PER_MM )

Definition at line 76 of file class_track.h.

◆ MIN_VIA_DRAW_SIZE

#define MIN_VIA_DRAW_SIZE   4

Definition at line 73 of file class_track.h.

◆ UNDEFINED_DRILL_DIAMETER

#define UNDEFINED_DRILL_DIAMETER   -1

Definition at line 71 of file class_track.h.

Enumeration Type Documentation

◆ ENDPOINT_T

enum ENDPOINT_T : int
Enumerator
ENDPOINT_START 
ENDPOINT_END 

Definition at line 54 of file class_track.h.

54  : int
55 {
56  ENDPOINT_START = 0,
57  ENDPOINT_END = 1
58 };

◆ VIATYPE

enum VIATYPE : int
strong
Enumerator
THROUGH 
BLIND_BURIED 
MICROVIA 
NOT_DEFINED 

Definition at line 62 of file class_track.h.

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