MantisBT - VTK
View Issue Details
0004422VTK(No Category)public2007-02-07 08:192016-08-12 09:54
Lin BI 
Will Schroeder 
highmajoralways
closedmoved 
 
 
0004422: bug about vtkDelaunay2D (sourcecode)
int vtkDelaunay2D::RecoverEdge(vtkIdType p1, vtkIdType p2)
{
    ....................................
    ....................................

  // We found initial triangle; begin to track triangles containing edge. Also,
  // the triangle defines the beginning of two "chains" which form a boundary of
  // enclosing triangles around the edge. Create the two chains (from p1 to p2).
  // (The chains are actually defining two polygons on either side of the edge.)
  //
  tris->InsertId(0, cellId);
  rightChain->InsertId(0, p1); rightChainX->InsertPoint(0, p1X);
  leftChain->InsertId(0, p1); leftChainX->InsertPoint(0, p1X);
  if ( signX1 > 0 )
    {
    rightChain->InsertId(1, v1); rightChainX->InsertPoint(1, x1);
    leftChain->InsertId(1, v2); leftChainX->InsertPoint(1, x2);
    }
  else
    {
    leftChain->InsertId(1, v1); leftChainX->InsertPoint(1, x1);
    rightChain->InsertId(1, v2); rightChainX->InsertPoint(1, x2);

    //===================================
    //where the bug :
    //Modify:Now have to exchange the v1 and v2
    int temp = 0;
    temp = v1; v1 = v2; v2 = temp;
    //===================================
    }
  
  // Walk along triangles (edge neighbors) towards point p2.
 ...........................................................
 ...........................................................
}
hackaton
related to 0012178closed Dave DeMarle vtkDelaunay2D fails to recover boundary 
Issue History
2011-05-10 20:44David GobbiRelationship addedrelated to 0012178
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2014-10-02 10:05Will SchroederTag Attached: hackaton
2014-10-03 05:08Joachim PouderouxNote Added: 0033566
2016-07-06 16:48Berk GeveciStatusbacklog => expired
2016-07-06 16:48Berk GeveciNote Added: 0036259
2016-08-12 09:54Kitware RobotNote Added: 0036901
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0033566)
Joachim Pouderoux   
2014-10-03 05:08   
Do you have a test case where the current algorithm fails?
(0036259)
Berk Geveci   
2016-07-06 16:48   
Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0036901)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.