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, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#pragma once
26
31
32// Flag used in locate routines (from which endpoint work)
33enum ENDPOINT_T : int
34{
37};
38
39// Note that this enum must be synchronized to GAL_LAYER_ID
40enum class VIATYPE : int
41{
42 THROUGH = 4, /* Always a through hole via */
43 BURIED = 3, /* this via can be on internal layers */
44 BLIND = 2, /* this via can be on internal layers */
45 MICROVIA = 1, /* this via which connect from an external layer
46 * to the near neighbor internal layer */
47 NOT_DEFINED = 0 /* not yet used */
48};
49
50enum class TENTING_MODE
51{
53 TENTED = 1,
55};
56
57enum class COVERING_MODE
58{
62};
63
64enum class PLUGGING_MODE
65{
69};
70
71enum class CAPPING_MODE
72{
74 CAPPED = 1,
76};
77
78enum class FILLING_MODE
79{
81 FILLED = 1,
83};
84
85#define UNDEFINED_DRILL_DIAMETER -1 //< Undefined via drill diameter.
86
87class PCB_TRACK;
88class PCB_VIA;
89class 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.