Added note to self about using the skeletonization algorithm to fill small gaps

degen-loop-screen
Alessandro Ranellucci 2011-12-19 13:00:42 +01:00
parent e2a5c2119f
commit 5e850557d4
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ sub make_perimeter {
($_, surface_type => $surface->surface_type),
map $_->offset_ex(-$distance), @last_offsets;
# TODO: diff(offset(@last_offsets, -$distance/2), offset(@fill_boundaries, +$distance/2))
# this represents the small gaps that we need to treat like thin polygons,
# thus generating the skeleton and using it to fill them
push @{ $layer->fill_boundaries }, @fill_boundaries if @fill_boundaries;
}
}