Detection of optimal infill direction for bridges. Includes many fixes and improvements.

This commit is contained in:
Alessandro Ranellucci committed 2011-10-07 19:07:57 +02:00
1 parent 1cb515a8e5
commit 743f2abcf2
18 files changed
+445 -68

No files matched your search

+5
View File
@@ -27,6 +27,11 @@ sub id {
return $self->a->id . "-" . $self->b->id;
}
sub ordered_id {
my $self = shift;
return join('-', sort map $_->id, @{$self->points});
}
sub coordinates {
my $self = shift;
return ($self->a->coordinates, $self->b->coordinates);