diff options
Diffstat (limited to 'xs/src/libslic3r/BoundingBox.hpp')
-rw-r--r-- | xs/src/libslic3r/BoundingBox.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/src/libslic3r/BoundingBox.hpp b/xs/src/libslic3r/BoundingBox.hpp index b4f101976..7746515cb 100644 --- a/xs/src/libslic3r/BoundingBox.hpp +++ b/xs/src/libslic3r/BoundingBox.hpp @@ -32,6 +32,8 @@ class BoundingBoxBase void translate(coordf_t x, coordf_t y); void offset(coordf_t delta); PointClass center() const; + bool contains(const PointClass &point) const; + bool overlap(const BoundingBoxBase<PointClass> &other) const; }; template <class PointClass> |