View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006260VTK(No Category)public2008-01-21 06:502016-08-12 09:54
Assigned ToDavid Thompson (old) 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006260: [PATCH] vtkMeshQuality::TriangleMinAngle() repports wrong value
Description(this is a copy of a mail sent to vtk-users ML, but this mail had no answer)


We found a bug in vtk 5.0.3, in the method
the method computes the 3 triangle angles : alpha, beta and gamma, but the
last one is incorrectly computed. I think it computes PI-gamma instead of
gamma. This bug can sometimes result in a minimal angle greater than 60
degrees, which is impossible.

I saw that the class vtkMeshQuality has changed a lot in the current CVS,
but the following patch could come handy for an update of vtk 5.0.3:

RCS file: /cvsroot/VTK/VTK/Graphics/vtkMeshQuality.cxx,v
retrieving revision 1.31
diff -r1.31 vtkMeshQuality.cxx
< gamma = acos(vtkMath::Dot(a,b) / sqrt(a2 * b2));
> gamma = acos(-vtkMath::Dot(a,b) / sqrt(a2 * b2));
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
Kitware Robot (administrator)
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.

- Issue History
Date Modified Username Field Change
2008-01-21 06:50 sebos69 New Issue
2008-02-06 09:32 Jeff Baumes Status backlog => tabled
2008-02-06 09:32 Jeff Baumes Assigned To => David Thompson (old)
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036944
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker