mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-21 14:09:54 +02:00
Remove residual uses of Boost for line clipping
This commit is contained in:
1 parent
5f2b2c90b6
commit
7475762a27
4 files changed
+22
-22
No files matched your search
@@ -110,8 +110,8 @@ sub _medial_axis_clip {
|
||||
push @$covered, map $grow->($_, $width*1.1), @$clipped;
|
||||
|
||||
# if the first remaining segment is connected to the last polyline, append it
|
||||
# to that -- NOTE: this assumes that multi_linestring_multi_polygon_difference()
|
||||
# preserved the orientation of the input linestring
|
||||
# to that -- FIXME: this assumes that diff_pl()
|
||||
# preserved the orientation of the input linestring but this is not generally true
|
||||
if (@polylines && @$clipped && $clipped->[0]->first_point->distance_to($polylines[-1]->last_point) <= $width/10) {
|
||||
$polylines[-1]->append_polyline(shift @$clipped);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user