This may sound wierd but I would like some code to add together two polygons giving one polygon as the result. Each polygon is made of array data points. The format is
array[x,y,x2,y2.....]
I'm not very good at making agorithems, I thought it might first check for line intersections, then divide the line into two lines, these would be saved as temp vars. If either of the two lines resides within a polygon delete the line segment. Then the data of lines is saved into a temp var list and returned. THis might not work and I have no idea how to impliment it.
I have something very innovative planned for this.
array[x,y,x2,y2.....]
I'm not very good at making agorithems, I thought it might first check for line intersections, then divide the line into two lines, these would be saved as temp vars. If either of the two lines resides within a polygon delete the line segment. Then the data of lines is saved into a temp var list and returned. THis might not work and I have no idea how to impliment it.
I have something very innovative planned for this.