Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-09-21 12:51:36 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-09-21 12:51:36 +0400
commit73b3c0636158036b8a1d3805ba91da6eddacbe87 (patch)
tree549e515e1028fbe49b70f7edda8c68436c4cf89e /xs/src/libslic3r/TriangleMesh.hpp
parent5a96bad8c2e282a9fb3e67d7b4efca5b59c974dd (diff)
Ported more things to XS
Diffstat (limited to 'xs/src/libslic3r/TriangleMesh.hpp')
-rw-r--r--xs/src/libslic3r/TriangleMesh.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xs/src/libslic3r/TriangleMesh.hpp b/xs/src/libslic3r/TriangleMesh.hpp
index 2099f5e1e..afde8a65d 100644
--- a/xs/src/libslic3r/TriangleMesh.hpp
+++ b/xs/src/libslic3r/TriangleMesh.hpp
@@ -29,7 +29,7 @@ class TriangleMesh
void repair();
void WriteOBJFile(char* output_file);
void scale(float factor);
- void scale(std::vector<double> versor);
+ void scale(const Pointf3 &versor);
void translate(float x, float y, float z);
void rotate_x(float angle);
void rotate_y(float angle);
@@ -44,8 +44,10 @@ class TriangleMesh
void horizontal_projection(ExPolygons &retval) const;
void convex_hull(Polygon* hull);
void bounding_box(BoundingBoxf3* bb) const;
+ BoundingBoxf3 bounding_box() const;
void reset_repair_stats();
bool needed_repair() const;
+ size_t facets_count() const;
stl_file stl;
bool repaired;