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
9class Layer {
10private:
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
17public:
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
Definition Layer.h:9
Layer(int id_, std::vector< MyPolygon > poly, float height_, float thickness_)
Definition Layer.cpp:3
float getThikness()
Definition Layer.cpp:8
float getHeight()
Definition Layer.cpp:10
std::vector< Gds2Path > getPaths()
Definition Layer.cpp:14
int getId()
Definition Layer.cpp:6
void setPaths(std::vector< Gds2Path > _paths)
Definition Layer.cpp:16
std::vector< MyPolygon > getPolygons()
Definition Layer.cpp:12