KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_track_types.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2004 Jean-Pierre Charras, [email protected]
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
27
28// Flag used in locate routines (from which endpoint work)
29enum ENDPOINT_T : int
30{
33};
34
35// Note that this enum must be synchronized to GAL_LAYER_ID
36enum class VIATYPE : int
37{
38 THROUGH = 4, /* Always a through hole via */
39 BURIED = 3, /* this via can be on internal layers */
40 BLIND = 2, /* this via can be on internal layers */
41 MICROVIA = 1, /* this via which connect from an external layer
42 * to the near neighbor internal layer */
43 NOT_DEFINED = 0 /* not yet used */
44};
45
46enum class TENTING_MODE
47{
49 TENTED = 1,
51};
52
53enum class COVERING_MODE
54{
58};
59
60enum class PLUGGING_MODE
61{
65};
66
67enum class CAPPING_MODE
68{
70 CAPPED = 1,
72};
73
74enum class FILLING_MODE
75{
77 FILLED = 1,
79};
80
81#define UNDEFINED_DRILL_DIAMETER -1 //< Undefined via drill diameter.
82
83class PCB_TRACK;
84class PCB_VIA;
85class PCB_ARC;
static const bool NOT_FILLED
Definition gr_basic.cpp:31
static const bool FILLED
Definition gr_basic.cpp:30
FILLING_MODE
VIATYPE
TENTING_MODE
COVERING_MODE
ENDPOINT_T
@ ENDPOINT_END
@ ENDPOINT_START
PLUGGING_MODE
CAPPING_MODE
@ MICROVIA
Microvia.