b44cc2a3153084dc9d78a7b22bf872e8ee15d01e
Stefan Schuermans initial version, DXFs can b...

Stefan Schuermans authored 11 years ago

1) /* drawing (DXF) to G-code (NGC) converter
2)  * Copyright 2013 Stefan Schuermans <stefan@schuermans.info>
3)  * Copyleft: CC-BY-SA http://creativecommons.org/licenses/by-sa/3.0/
4)  */
5) 
6) #ifndef LAYER_H
7) #define LAYER_H
8) 
Stefan Schuermans implement joining and impro...

Stefan Schuermans authored 11 years ago

9) #include <list>
Stefan Schuermans initial version, DXFs can b...

Stefan Schuermans authored 11 years ago

10) 
11) #include "gcode.h"
12) #include "path.h"
13) #include "settings.h"
14) 
15) /// layer of drawing
16) class Layer {
17) public:
Stefan Schuermans implement joining and impro...

Stefan Schuermans authored 11 years ago

18)   typedef std::list<Path> Paths; ///< type for paths in layer
Stefan Schuermans initial version, DXFs can b...

Stefan Schuermans authored 11 years ago

19) 
20)   /**
21)    * @brief add a new empty path to the layer
22)    * @return reference to new empty path
23)    */
24)   Path & addPath();
25) 
Stefan Schuermans implement joining and impro...

Stefan Schuermans authored 11 years ago

26)   /**
27)    * @brief improve paths
28)    * @param[in] eqDist maximum distance of two points to be considered equal
29)    */
30)   void improvePaths(double eqDist);
31)