2014-05-14 15:53:54 +02:00
|
|
|
/*
|
|
|
|
* KiRouter - a push-and-(sometimes-)shove PCB router
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013-2014 CERN
|
2025-01-01 13:30:11 -08:00
|
|
|
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
|
2014-05-14 15:53:54 +02:00
|
|
|
* Author: Tomasz Wlostowski <tomasz.wlostowski@cern.ch>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "pns_algo_base.h"
|
2016-08-15 17:16:48 +02:00
|
|
|
#include "pns_debug_decorator.h"
|
2014-05-14 15:53:54 +02:00
|
|
|
#include "pns_router.h"
|
|
|
|
|
2016-08-29 16:38:11 +02:00
|
|
|
namespace PNS {
|
|
|
|
|
2016-08-29 19:31:13 +02:00
|
|
|
ROUTING_SETTINGS& ALGO_BASE::Settings() const
|
2014-05-14 15:53:54 +02:00
|
|
|
{
|
2015-02-18 17:53:46 +01:00
|
|
|
return m_router->Settings();
|
2014-05-14 15:53:54 +02:00
|
|
|
}
|
|
|
|
|
2016-08-15 17:16:53 +02:00
|
|
|
|
2016-08-29 19:31:13 +02:00
|
|
|
LOGGER* ALGO_BASE::Logger()
|
2014-05-14 15:53:54 +02:00
|
|
|
{
|
2023-08-07 18:58:41 +02:00
|
|
|
return m_logger;
|
2015-02-18 17:53:46 +01:00
|
|
|
}
|
2016-08-29 16:38:11 +02:00
|
|
|
|
2021-07-19 19:56:05 -04:00
|
|
|
|
2021-02-17 22:01:09 +01:00
|
|
|
const BOX2I& ALGO_BASE::VisibleViewArea() const
|
|
|
|
{
|
|
|
|
return m_router->VisibleViewArea();
|
|
|
|
}
|
|
|
|
|
2016-08-29 16:38:11 +02:00
|
|
|
}
|