in reply to searching polygons not merged

Hello dideod.yang,

I am not very familiar with polygons but if I understand your question correctly the Math::Polygon::Tree module does exactly what you want.

Let me know if this works for you.

BR / Thanos

Seeking for Perl wisdom...on the process of learning...not there...yet!

Replies are listed 'Best First'.
Re^2: searching polygons not merged
by LanX (Saint) on Oct 27, 2018 at 15:50 UTC
    > does exactly what you want.

    From my understanding this only solves the 2 polygon case and doesn't pre-filter impossible combinations.

    update

    though the OP did indeed also ask about the 2 polygon case. sorry this post is hard to interpret.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice