mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Ported intersect_expolygons() and subtract_expolygons() to XS
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
#include "Polyline.hpp"
|
||||
#include "Polygon.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
Polyline::operator Polylines() const
|
||||
{
|
||||
Polylines polylines(1);
|
||||
polylines.push_back(*this);
|
||||
return polylines;
|
||||
}
|
||||
|
||||
Point*
|
||||
Polyline::last_point() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user