Horizon
src
import_dxf
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
horizon::Core
Where Tools and and documents meet.
Definition:
core.hpp:249
horizon::DXFImporter
Definition:
dxf_importer.hpp:7
horizon
Definition:
block.cpp:7
horizon::Coord< int64_t >
Generated by
1.8.13