Ported union_pt() to XS
This commit is contained in:
parent
443d4e52cb
commit
9cf831b9c5
7 changed files with 78 additions and 42 deletions
|
@ -239,8 +239,8 @@ sub make_perimeters {
|
|||
$self->_fill_gaps(\@gaps);
|
||||
|
||||
# find nesting hierarchies separately for contours and holes
|
||||
my $contours_pt = union_pt(\@contours, PFT_EVENODD);
|
||||
my $holes_pt = union_pt(\@holes, PFT_EVENODD);
|
||||
my $contours_pt = union_pt(\@contours);
|
||||
my $holes_pt = union_pt(\@holes);
|
||||
|
||||
# prepare a coderef for traversing the PolyTree object
|
||||
# external contours are root items of $contours_pt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue