I have a bunch of line segments (generated by cutting a mesh) that I need to 
join together into a polyline.
Defining the optimal polyline as the shortest ordering of the points.

Is there any better algorithm (or library) for stitching the line segments - 
other than niavely searching all other segments for the end point nearest the 
current line.
Naturally in the real world there might be gaps and there is rounding error.

At least in 2d it seems that this must be a common contour line problem?

Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22912#22912





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to