KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pns_algo_base.cpp
Go to the documentation of this file.
1/*
2 * KiRouter - a push-and-(sometimes-)shove PCB router
3 *
4 * Copyright (C) 2013-2014 CERN
5 * Copyright (C) 2016-2021 KiCad Developers, see AUTHORS.txt for contributors.
6 * Author: Tomasz Wlostowski <[email protected]>
7 *
8 * This program is free software: you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation, either version 3 of the License, or (at your
11 * option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#include "pns_algo_base.h"
23#include "pns_debug_decorator.h"
24#include "pns_router.h"
25
26namespace PNS {
27
29{
30 return m_router->Settings();
31}
32
33
35{
36 return m_logger;
37}
38
39
41{
42 return m_router->VisibleViewArea();
43}
44
45}
const BOX2I & VisibleViewArea() const
virtual LOGGER * Logger()
LOGGER * m_logger
Definition: pns_algo_base.h:88
ROUTER * m_router
Definition: pns_algo_base.h:87
ROUTING_SETTINGS & Settings() const
Return the logger object, allowing to dump geometry to a file.
const BOX2I & VisibleViewArea() const
Definition: pns_router.h:226
ROUTING_SETTINGS & Settings()
Definition: pns_router.h:197
Contain all persistent settings of the router, such as the mode, optimization effort,...
Push and Shove diff pair dimensions (gap) settings dialog.