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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/xsp/BoundingBox.xsp')
-rw-r--r--xs/xsp/BoundingBox.xsp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/xsp/BoundingBox.xsp b/xs/xsp/BoundingBox.xsp
index 948042eaf..efb5dea3b 100644
--- a/xs/xsp/BoundingBox.xsp
+++ b/xs/xsp/BoundingBox.xsp
@@ -16,6 +16,8 @@
void scale(double factor);
void translate(double x, double y);
void offset(double delta);
+ bool contains_point(Point* point) %code{% RETVAL = THIS->contains(*point); %};
+ bool overlap(BoundingBox* bbox) %code{% RETVAL = THIS->overlap(*bbox); %};
Clone<Polygon> polygon();
Clone<Point> size();
Clone<Point> center();