View Single Post

  #5 (permalink)  
Old 03-29-2005
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Quote:
Originally Posted by Winwaed
Sorry, I thought you meant the first and last location objects were physically different. It is possible for them to be different objects in different places in memory with the same internal contents - and my answer determines if that is the case.


Are these shapes drawn by your program? If so, you could name them and include a code in the name to say "open" or "closed". A bit kludgy but it would work.

Richard
The shapes are drawn by the user. Then I need to pass the shape data (ie. the vertices and whether or not it forms a polygon) to another application for processing. I don't think there is a way around this problem other than assuming that it is either opened or closed.
Reply With Quote