103091658b6cfea3f42904330cdabd53d184fb6a
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>
Stefan Schuermans license CC-BY-SA --> GPL (m...

Stefan Schuermans authored 11 years ago

3)  * Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html
Stefan Schuermans initial version, DXFs can b...

Stefan Schuermans authored 11 years ago

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)