<div dir="ltr"><div>Hi all,</div><div><br></div>Today I committed a bug fix to vtkImplicitPolyDataDistance that should fix at least some of the known problems with vtkBooleanOperationPolyDataFilter.<div><br></div><div><div>commit 67122e8421c833769fff90c8a0a113007e0383cf</div><div>Author: Cory Quammen <<a href="mailto:cory.quammen@kitware.com">cory.quammen@kitware.com</a>></div><div>Date:   Wed Apr 29 23:02:34 2015 -0400</div><div><br></div><div>    BUG: Fixed error in area-weighted normal</div><div>    </div><div>    When the closest point on a surface to a test point is on an edge, the</div><div>    area-weighted normal is the average of the normals of the faces</div><div>    adjacent to the edge. The contribution from one of the faces was being</div><div>    added twice, producing the incorrect area-weighted normal. This</div><div>    resulted in the wrong sign for the signed distance in some cases.</div><div>    This patch fixes the error.</div><div>    </div><div>    Changed TestImplicitPolyDataDistance.cxx to fail prior to this change</div><div>    and pass after the change. The previous test exercised</div><div>    vtkImplicityPolyDataDistance but did not check the results. The new</div><div>    test checks against a baseline.</div></div><div><br></div><div><br></div><div>For anyone who has tried to use the boolean operations filter but found it to be buggy, especially where it added extraneous triangles to the output, I encourage you to check out the current VTK master branch and see if this fixes your problem. If not, please let me know.<div><br></div><div>There is still a known problem for input geometries that have long skinny triangles [1], but I think today's bug fix should take care of many of the problems people have reported.</div><div><br></div><div>Thanks,</div><div>Cory<br clear="all"><div><br></div><div>[1] <a href="http://www.paraview.org/Bug/view.php?id=13708">http://www.paraview.org/Bug/view.php?id=13708</a></div><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div></div></div>