Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!sunic!suadb!vall!mk From: mk@vall.dsv.su.se (Magnus Karlson) Newsgroups: comp.graphics Subject: Common questions about polygons? Keywords: Close open polygones, dot inside which. Message-ID: <568@vall.dsv.su.se> Date: 19 Sep 89 20:08:24 GMT Organization: University of Stockholm, Sweden Lines: 17 Two probably common questions that i need help/information about... 1) If i have several lists containing x,y pairs, and i know that each list really should be a closed polygon, but arn't since the closing line/lines is defined in some other list. Is there some easy way to compleat each list to a closed polygon? The only way I see at first glance will take too long time given a large set of lists... 2) Given a dot (x,y pair) and a lot of closed polygons is there a way to know which polygon the dot is inside? Any help would be mush appreciated, and I would be glad to summarize if anyone is intrested. Magnus Karlson