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
 

Some videos you may like

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Watch MrExcel Video

Forum statistics

Threads
1,118,760
Messages
5,574,079
Members
412,566
Latest member
TexasTony
Top