You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

11 years ago
9 years ago
11 years ago
  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 <tomasz.wlostowski@cern.ch>
  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. #include "pns_algo_base.h"
  22. #include "pns_debug_decorator.h"
  23. #include "pns_router.h"
  24. namespace PNS {
  25. ROUTING_SETTINGS& ALGO_BASE::Settings() const
  26. {
  27. return m_router->Settings();
  28. }
  29. LOGGER* ALGO_BASE::Logger()
  30. {
  31. return m_logger;
  32. }
  33. const BOX2I& ALGO_BASE::VisibleViewArea() const
  34. {
  35. return m_router->VisibleViewArea();
  36. }
  37. }