mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 15:45:51 +08:00
Added inequality operator for Point
This commit is contained in:
parent
6676368a34
commit
84826ae5ee
@ -44,6 +44,7 @@ class Point
|
|||||||
/// Scale and create a Point from a Pointf.
|
/// Scale and create a Point from a Pointf.
|
||||||
static Point new_scale(Pointf p);
|
static Point new_scale(Pointf p);
|
||||||
bool operator==(const Point& rhs) const;
|
bool operator==(const Point& rhs) const;
|
||||||
|
bool operator!=(const Point& rhs) const { return !(*this == rhs); }
|
||||||
std::string wkt() const;
|
std::string wkt() const;
|
||||||
std::string dump_perl() const;
|
std::string dump_perl() const;
|
||||||
void scale(double factor);
|
void scale(double factor);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user