I have a problem like this:
I. As you see (in the attachment) each of the closed polygons (as in the attachment) is called a BAY
II. The logic I need is:
The user of my program will select a bay (with a mouse).
And after selection he would want the program to draw some vertical (or horizontal) lines in a bay at some spacing as shown in the attached figure:
My question/problem is:
a) How the program will detect a bay?
b) How to draw theese vertical/horizontal lines as in the attachment in the bay?