Logic Problem

Hap

Well-known Member
Joined
Jul 20, 2005
Messages
647
I have been working on this same problem for weeks now and I am to the following point.

I have a polygon area defined by a collection of adjacent points around the polygon (the first and last item in the collection is the same point).

Using that information I sliced the polygon into vertical sections and created an array that contains the points on the boundaries of the polygon created by the intersections of the slices. The points alternate on the boundaries based on the x-axis location of the slice (i.e. 4 points might include (0, 0), (0, 3), (3, 2), (3, 8))

I need to combine the points that are the bounding points of each of the slices to create new polygons.

This is mainly a logic issue I am trying to wrap my brain around so I know how to approach it in code.

Thanks for any help
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,214,540
Messages
6,120,106
Members
448,945
Latest member
Vmanchoppy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top