Faster support generation. Includes a new implementation of the Douglas-Peucker algorithm

This commit is contained in:
Alessandro Ranellucci committed 2012-02-25 14:46:21 +01:00
1 parent 94e673e050
commit eba7c10018
9 files changed
+166 -183

No files matched your search

+7
View File
@@ -45,6 +45,13 @@ sub clip_end {
}
}
sub clip_with_polygon {
my $self = shift;
my ($polygon) = @_;
return $self->clip_with_expolygon(Slic3r::ExPolygon->new($polygon));
}
sub clip_with_expolygon {
my $self = shift;
my ($expolygon) = @_;