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/ExPolygonCollection.cpp | |
parent | 5b8ed7367a2a9148c215eafa53c7e13b30cd0c36 (diff) |
Finished porting LayerRegion to C++
Diffstat (limited to 'xs/src/libslic3r/ExPolygonCollection.cpp')
-rw-r--r-- | xs/src/libslic3r/ExPolygonCollection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xs/src/libslic3r/ExPolygonCollection.cpp b/xs/src/libslic3r/ExPolygonCollection.cpp index 9ae7e8907..45f0df477 100644 --- a/xs/src/libslic3r/ExPolygonCollection.cpp +++ b/xs/src/libslic3r/ExPolygonCollection.cpp @@ -122,6 +122,12 @@ ExPolygonCollection::contours() const return contours; } +void +ExPolygonCollection::append(const ExPolygons &expp) +{ + this->expolygons.insert(this->expolygons.end(), expp.begin(), expp.end()); +} + #ifdef SLIC3RXS REGISTER_CLASS(ExPolygonCollection, "ExPolygon::Collection"); #endif |