OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
Layer.h
Go to the documentation of this file.
1
#ifndef LAYER_H_
2
#define LAYER_H_
3
4
#include <vector>
5
#include "
Polygon.h
"
6
#include "
Gds2Path.h
"
7
8
9
class
Layer
{
10
private
:
11
int
id;
// number of the layer
12
float
thikness;
// thikness of printed ploygons on this layer
13
float
height;
// height of the layer
14
std::vector<MyPolygon> polygons;
// polygons which are located on the layer
15
std::vector<Gds2Path> paths;
16
17
public
:
18
Layer
(
int
id_, std::vector<MyPolygon> poly,
float
height_,
float
thickness_);
19
20
int
getId
();
21
float
getThikness
();
22
float
getHeight
();
23
std::vector<MyPolygon>
getPolygons
();
24
std::vector<Gds2Path>
getPaths
();
25
26
void
setPaths
(std::vector<Gds2Path> _paths);
27
};
28
29
#endif
Gds2Path.h
Polygon.h
Layer
Definition
Layer.h:9
Layer::Layer
Layer(int id_, std::vector< MyPolygon > poly, float height_, float thickness_)
Definition
Layer.cpp:3
Layer::getThikness
float getThikness()
Definition
Layer.cpp:8
Layer::getHeight
float getHeight()
Definition
Layer.cpp:10
Layer::getPaths
std::vector< Gds2Path > getPaths()
Definition
Layer.cpp:14
Layer::getId
int getId()
Definition
Layer.cpp:6
Layer::setPaths
void setPaths(std::vector< Gds2Path > _paths)
Definition
Layer.cpp:16
Layer::getPolygons
std::vector< MyPolygon > getPolygons()
Definition
Layer.cpp:12
Services
EDAImportService
src
header
Layer.h
Generated by
1.10.0