[vtk-developers] vtkPolyData->IsEdge fix

Rasmus Reinhold Paulsen rrp at imm.dtu.dk
Tue Mar 11 11:28:28 EST 2003


On Tue, 11 Mar 2003, John Biddiscombe wrote:

> Make the change, run all the tests and see how many break. If none, then commit the fix (after asking the ARB yes?), if some, then see if the tests are actually wrong and need to be changed.
> 
> JB
> 
> IsEdge should return a true edge (why fool people), but maybe you could add IsUsedBy (or similar) to mimic the existing bug?

I have tried to implement the change on my system and have run the
regression tests and: 

YUK! The constrainedDelauney.tcl test fails!

Attached is the image generated. It is clearly not the same as the
reference. Also warnings pop up from vtkDelaunay2:

In function FillPolygons this is triggered:

...
p1 = pts[i];
p2 = pts[(i+1)%npts];
if ( ! this->Mesh->IsEdge(p1,p2) )
{
  vtkWarningMacro(<<"Edge not recovered, polygon fill suspect");
}
...

,which I find quite mysterious! Any ideas?

Regards,
Rasmus



-------------- next part --------------
A non-text attachment was scrubbed...
Name: constrainedDelaunay_modified.png
Type: application/octet-stream
Size: 20935 bytes
Desc: 
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20030311/993b5b9e/attachment-0001.obj>


More information about the vtk-developers mailing list