Incomplete work for porting simplify() to XS

This commit is contained in:
Alessandro Ranellucci 2013-11-21 20:25:24 +01:00
parent 7475762a27
commit 518798beb3
24 changed files with 121 additions and 41 deletions

View file

@ -38,11 +38,6 @@ sub offset {
return [ map $self->clone(expolygon => $_), @{$self->expolygon->offset_ex(@_)} ];
}
sub simplify {
my $self = shift;
return map $self->clone(expolygon => $_), $self->expolygon->simplify(@_);
}
sub p {
my $self = shift;
return @{$self->polygons};