mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 13:04:03 -06:00
Removed more unused functions and fixed tests
This commit is contained in:
parent
132d170f73
commit
a950fbe0c2
7 changed files with 20 additions and 208 deletions
|
@ -2,7 +2,7 @@ package Slic3r::Polyline;
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
use Slic3r::Geometry qw(A B X Y X1 X2 Y1 Y2 polyline_remove_parallel_continuous_edges polyline_remove_acute_vertices);
|
||||
use Slic3r::Geometry qw(A B X Y X1 X2 Y1 Y2);
|
||||
use Slic3r::Geometry::Clipper qw(JT_SQUARE);
|
||||
use Storable qw();
|
||||
|
||||
|
@ -17,16 +17,6 @@ sub wkt {
|
|||
return sprintf "LINESTRING((%s))", join ',', map "$_->[0] $_->[1]", @$self;
|
||||
}
|
||||
|
||||
sub merge_continuous_lines {
|
||||
my $self = shift;
|
||||
polyline_remove_parallel_continuous_edges($self);
|
||||
}
|
||||
|
||||
sub remove_acute_vertices {
|
||||
my $self = shift;
|
||||
polyline_remove_acute_vertices($self);
|
||||
}
|
||||
|
||||
sub bounding_box {
|
||||
my $self = shift;
|
||||
return Slic3r::Geometry::BoundingBox->new_from_points($self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue