PDA

View Full Version : Enumerate Edges?



distrakt
05-20-2004, 09:10 PM
hi --

Anyone know the best way to get a list of the _edges_ of all the selected polygons?

The only ways I could see involved walking all the points of all the polygons, and keeping a list of which pairs I've already walked across.

This takes n-squared-ish time for n selected points, which makes my computer crabby fast. :-)

Thanks for any insight.