Ported offset() and offset2()

This commit is contained in:
Alessandro Ranellucci committed 2013-07-17 00:48:29 +02:00
1 parent bf8c799685
commit c7b6818ccf
15 files changed
+152 -81

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ sub BUILD {
: $self->islands->[$i]->offset_ex(-$self->_inner_margin);
# offset the island outwards to make the boundaries for external movements
$self->_outer->[$i] = [ offset([ $self->islands->[$i]->contour], $self->_outer_margin) ];
$self->_outer->[$i] = offset([ $self->islands->[$i]->contour], $self->_outer_margin);
# if internal motion is enabled, build a set of utility expolygons representing
# the outer boundaries (as contours) and the inner boundaries (as holes). whenever