Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-09-13 10:46:41 +0300
committerbubnikv <bubnikv@gmail.com>2016-09-13 10:46:41 +0300
commit068f71847e25216de351dccc75e492aec3309ce4 (patch)
tree31be9b19ef40d68aeef0fd814a1ed16bb2bd65e7 /xs/src/libslic3r/Point.hpp
parentc443f49da3e968841f43dc1f51aae189239c12d3 (diff)
Some inlining optimizations.
Diffstat (limited to 'xs/src/libslic3r/Point.hpp')
-rw-r--r--xs/src/libslic3r/Point.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Point.hpp b/xs/src/libslic3r/Point.hpp
index 45331aa71..9c23252cb 100644
--- a/xs/src/libslic3r/Point.hpp
+++ b/xs/src/libslic3r/Point.hpp
@@ -44,7 +44,7 @@ class Point
void translate(const Vector &vector);
void rotate(double angle);
void rotate(double angle, const Point &center);
- bool coincides_with(const Point &point) const;
+ bool coincides_with(const Point &point) const { return this->x == point.x && this->y == point.y; }
bool coincides_with_epsilon(const Point &point) const;
int nearest_point_index(const Points &points) const;
int nearest_point_index(const PointConstPtrs &points) const;