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 <trigo.h>

Go to the source code of this file.

Classes

class  TRACK
 
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 { ENDPOINT_START = 0, ENDPOINT_END = 1 }
 
enum  VIATYPE_T { VIA_THROUGH = 3, VIA_BLIND_BURIED = 2, VIA_MICROVIA = 1, VIA_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 74 of file class_track.h.

◆ MIN_VIA_DRAW_SIZE

#define MIN_VIA_DRAW_SIZE   4

Definition at line 71 of file class_track.h.

◆ UNDEFINED_DRILL_DIAMETER

#define UNDEFINED_DRILL_DIAMETER   -1

Definition at line 69 of file class_track.h.

Enumeration Type Documentation

◆ ENDPOINT_T

enum ENDPOINT_T
Enumerator
ENDPOINT_START 
ENDPOINT_END 

Definition at line 53 of file class_track.h.

53  {
54  ENDPOINT_START = 0,
55  ENDPOINT_END = 1
56 };

◆ VIATYPE_T

enum VIATYPE_T
Enumerator
VIA_THROUGH 
VIA_BLIND_BURIED 
VIA_MICROVIA 
VIA_NOT_DEFINED 

Definition at line 60 of file class_track.h.

61 {
62  VIA_THROUGH = 3, /* Always a through hole via */
63  VIA_BLIND_BURIED = 2, /* this via can be on internal layers */
64  VIA_MICROVIA = 1, /* this via which connect from an external layer
65  * to the near neighbor internal layer */
66  VIA_NOT_DEFINED = 0 /* not yet used */
67 };