my $sum = Math::GSL::Vector->new(2);
$sum += $_->{Pos} foreach @$poly;
$rr->{Centre} = $sum * (1.0 / @$poly);
+ print STDERR "C-of ",prvec($rr->{Centre})," $rr->{Name}\n";
}
}
foreach my $xy (qw(0 1)) {
my $now = $y->get($xy);
my $lim = $lims[$topend]->get($xy);
- #print STDERR "?set $topend $xy $now $lim\n";
+ print STDERR "?set $topend $xy $now $lim\n";
next if $topend ? ($now <= $lim) : ($now >= $lim);
$lims[$topend]->set([$xy], [$now]);
- #print STDERR "set $topend $xy $now\n";
+ print STDERR "set $topend $xy $now $why\n";
}
}
});
# xxx boundingbox
write_face_edges();
-#print STDERR Dumper(\%region);
+print STDERR Dumper(\%region);
# Local variables:
# cperl-indent-level: 2