Some initial work for porting slice()

This commit is contained in:
Alessandro Ranellucci 2013-09-07 14:06:09 +02:00
parent 8607c559c7
commit 346c17d483
6 changed files with 126 additions and 1 deletions

View file

@ -3,7 +3,9 @@
#include <myinit.h>
#include <admesh/stl.h>
#include <vector>
#include "Point.hpp"
#include "Polygon.hpp"
namespace Slic3r {
@ -20,6 +22,7 @@ class TriangleMesh
void translate(float x, float y, float z);
void align_to_origin();
void rotate(double angle, Point* center);
std::vector<Polygons>* slice(const std::vector<double> &z);
stl_file stl;
};