mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 21:46:30 +01:00
Ported nearest_point() and nearest_point_index()
This commit is contained in:
1 parent
f1e9216c70
commit
b11b595c97
18 files changed
+79
-69
No files matched your search
@@ -20,6 +20,9 @@
|
||||
%code{% RETVAL = THIS->x; %};
|
||||
long y()
|
||||
%code{% RETVAL = THIS->y; %};
|
||||
int nearest_point_index(Points points);
|
||||
Point* nearest_point(Points points)
|
||||
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = new Point(*(THIS->nearest_point(points))); %};
|
||||
|
||||
%{
|
||||
|
||||
|
||||
Reference in new issue
Block a user