Follow-up to d547279aea40460e7ccfe7c5a4b77a6ef433e9bf: Some of the unit tests use unscaled coordinates, because of that, we will use for them ExtrusionLoop::split_at with zero epsilon.

This commit is contained in:
Lukáš Hejl 2022-06-28 09:25:53 +02:00 committed by Lukas Matena
parent 1d41ffdd7d
commit 88f4641fff

View File

@ -21,8 +21,8 @@
double length(); double length();
bool split_at_vertex(Point* point) bool split_at_vertex(Point* point)
%code{% RETVAL = THIS->split_at_vertex(*point); %}; %code{% RETVAL = THIS->split_at_vertex(*point); %};
void split_at(Point* point, int prefer_non_overhang = 0) void split_at(Point* point, int prefer_non_overhang = 0, double scaled_epsilon = 0.)
%code{% THIS->split_at(*point, prefer_non_overhang != 0); %}; %code{% THIS->split_at(*point, prefer_non_overhang != 0, scaled_epsilon); %};
ExtrusionPaths clip_end(double distance) ExtrusionPaths clip_end(double distance)
%code{% THIS->clip_end(distance, &RETVAL); %}; %code{% THIS->clip_end(distance, &RETVAL); %};
bool has_overhang_point(Point* point) bool has_overhang_point(Point* point)