in reply to Combine line segments to form a single line

This example is not sufficient, please explain how you select the points that your are using and the order in which you select them.
  • Comment on Re: Combine line segments to form a single line

Replies are listed 'Best First'.
Re^2: Combine line segments to form a single line
by bangor (Monk) on Jan 13, 2014 at 14:07 UTC
    Hi Laurent. I am using a contouring algorithm to produce the line segments. The algorithm processes a matrix four points at a time to see if the square formed by those points contains a contour line. If it does then a line segment is produced. I can provide more information on the process if you need it.