Horizon
dxf_importer.hpp
1 #pragma once
2 #include "common/common.hpp"
3 #include <set>
4 #include <string>
5 
6 namespace horizon {
7 class DXFImporter {
8 public:
9  DXFImporter(class Core *c);
10  bool import(const std::string &filename);
11  void set_layer(int la);
12  void set_width(uint64_t w);
13  void set_shift(const Coordi &sh);
14  void set_scale(double sc);
15 
16  std::set<class Junction *> junctions;
17 
18 private:
19  class Core *core = nullptr;
20  int layer = 0;
21  uint64_t width = 0;
22  Coordi shift;
23  double scale = 1;
24 };
25 } // namespace horizon
Where Tools and and documents meet.
Definition: core.hpp:232
Definition: dxf_importer.hpp:7
Definition: block.cpp:9