diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-10-27 01:23:03 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-10-27 01:24:46 +0300 |
commit | 9fcec107373b6846f3775fe353c7ae29653cf9ac (patch) | |
tree | 745479a8dfd50c9f2d4ccbae9b886ab064710821 /xs/src/libslic3r/Surface.cpp | |
parent | 5b8ed7367a2a9148c215eafa53c7e13b30cd0c36 (diff) |
Finished porting LayerRegion to C++
Diffstat (limited to 'xs/src/libslic3r/Surface.cpp')
-rw-r--r-- | xs/src/libslic3r/Surface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Surface.cpp b/xs/src/libslic3r/Surface.cpp index e4625f799..e7d66c17b 100644 --- a/xs/src/libslic3r/Surface.cpp +++ b/xs/src/libslic3r/Surface.cpp @@ -2,6 +2,11 @@ namespace Slic3r { +Surface::operator Polygons() const +{ + return this->expolygon; +} + double Surface::area() const { |