Hi,<div><br></div><div>In 3-D space I have an unordered set of, say, 6 points; something like this:</div><div><br></div><div>               (A)*</div><div>                              (C)*</div><div>(E)*</div><div>                             (F)*</div>
<div>         (B)*</div><div><br></div><div>                      (D)*</div><div><br></div><div>The points form a 3-D contour but they are unordered. For unordered I mean that they are stored in a vtkIdList = [A - B - C - D - E - F]. I just want to reorganize this list starting from an arbitrary location (let&#39;s say point A) and traversing the points clockwise or counter-clockwise. Something like this:</div>
<div><br></div><div>orderedList = [A - E - B - D - F - C]</div><div>or</div><div>orderedList = [A - C - F - D - B - E]</div><div><br></div><div>I&#39;m trying to implement an algorithm as simple as possible, since the set of points in mention corresponds to a N-ring neighborhood of each vertex on a mesh of ~420000 points, and I have to do this for each point on the mesh.</div>
<div><br></div><div>How can I do this in VTK?</div><div><br></div><div>Thanks,</div><div>Miguel</div>