Jump to content


- - - - -

polygon math


1 reply to this topic

#1 ShadowHawk

    Member

  • Members
  • PipPip
  • 47 posts

Posted 25 November 2004 - 12:47 PM

Hi there,

I am looking for a good site that explains how i should implement the substraction of polygons and the logical & operation on polygons. I have tried google but i seem to search for the wrong keywords since i cant find any.
Or if someone can explain the algoritm for doing the folowing things it is also good enoug ( iso the website )

I have 2 polygons and i want to check what area's are inside both the polygons ( could result in more then 1 polygon )
And i need to have the solution for checking what parts of 1 polygon are outside another polygon. but i cant find a correct nice algoritm for it.
The polygons could be verry complex but could anso just be a square and i just cant find this to work properly.

#2 Dia

    DevMaster Staff

  • Administrators
  • 1097 posts

Posted 25 November 2004 - 01:56 PM

Try searching for: "Constructive Solid Geometry" (CSG). You'll find lots of results with that keyword.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users