diff options
author | bubnikv <bubnikv@gmail.com> | 2017-04-04 12:17:25 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-04-04 12:17:25 +0300 |
commit | bd9ee88e2fa695aed43915e4df2c328a664034d4 (patch) | |
tree | e58d5cad057bd42564b0c19d0eb1ab03357c3d41 /xs/src/libslic3r/Point.hpp | |
parent | 70fcedb1136dde2c782b41d6611cb33481a7721c (diff) |
Fix of https://github.com/prusa3d/Slic3r/issues/214
Dent in perimeters around a hole
Clipper Offset has been extended to remove tiny edges before the offset.
This is important as the tiny edges pose difficulty
for normal calculation, leading to various adverse effects like
kinks and dents in the offsetted contour.
Diffstat (limited to 'xs/src/libslic3r/Point.hpp')
-rw-r--r-- | xs/src/libslic3r/Point.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Point.hpp b/xs/src/libslic3r/Point.hpp index 63040718b..88b585307 100644 --- a/xs/src/libslic3r/Point.hpp +++ b/xs/src/libslic3r/Point.hpp @@ -38,6 +38,7 @@ class Point return Point(scale_(x), scale_(y)); }; bool operator==(const Point& rhs) const { return this->x == rhs.x && this->y == rhs.y; } + bool operator!=(const Point& rhs) const { return ! (*this == rhs); } std::string wkt() const; std::string dump_perl() const; void scale(double factor); |