* Christian Sauer via RT (bug-Math-Polygon@rt.cpan.org) [070426 01:45]:
Show quoted text> I'd like to have something like $poly->intersect($other_poly) which
> returns a new Math::Polygon object representing the intersection of
> $poly and $other_poly, or undef if both polygons don't intersect.
>
> Do you have planned something like this?
At least, this will return a (maybe empty) LIST of objects in the
general case.
No, I have no plans for this, but if you show me the algorithm (maybe
limited to convex polys, for which you test), I will add it. I do
require some tests and docs as well. Is not easy.
--
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
drs Mark A.C.J. Overmeer MARKOV Solutions
Mark@Overmeer.net solutions@overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net