MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006260 | VTK | (No Category) | public | 2008-01-21 06:50 | 2016-08-12 09:54 |
| Reporter | sebos69 | ||||
| Assigned To | David Thompson (old) | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0006260: [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) Hi, We found a bug in vtk 5.0.3, in the method vtkMeshQuality::TriangleMinAngle(). 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 670c670 < gamma = acos(vtkMath::Dot(a,b) / sqrt(a2 * b2)); --- > gamma = acos(-vtkMath::Dot(a,b) / sqrt(a2 * b2)); | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||