Results 1 to 28 of 28

Thread: [RESOLVED] Polygons - See if they overlap/intersect?

Threaded View

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Resolved [RESOLVED] Polygons - See if they overlap/intersect?

    Say there are 2 polygon regions on a form. What is the best way to see if they intersect or if they collide?

    The polygons are just an array of points (POINTAPI type: x, y).

    My math skills are basically non-existent. Anyone have any suggestions?

    I've come across something called the DotProduct but am having a terrible time trying to understand it.

    Should this maybe be in the game forum?

    Thanks.

    Edit: I forgot to point out that, the polygons will probably not have the same number of points, making this even more difficult.
    Last edited by DigiRev; Feb 24th, 2009 at 06:27 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width