MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000721 | VTK | (No Category) | public | 2004-03-26 21:54 | 2016-08-12 09:54 |
| Reporter | Goodwin Lawlor | ||||
| Assigned To | David Partyka | ||||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0000721: Picking a vtkPolyData with degenerate cells | ||||
| Description | If a degenerate triangle with two identical vertices is traversed by vtkCellPicker, a crash is caused. Stack: vtkPicker::Pick vtkCellPicker::IntersectWithLine vtkTriangle::IntersectWithLine vtkTriangle::EvaluatePosition vtkLine::DistanceToLine "denom" on line 272 (vtkLine.cxx) will evaluate to zero and will cause a division by zero error. Perhaps, a check here to return -1 if denom == 0, then a check in vtkTriangle::EvaluatePosition to return -1 (ie numerical error) if vtkLine::DistanceToLine returns -1 vtkTriangle::IntersectWithLine should also check for a error from vtkTriangle::EvaluatePosition and vtkLine::DistanceToLine and return 0; | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/5137/vtkLine.cxx.patch https://www.vtk.org/Bug/file/5138/vtkTriangle.cxx.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-11-30 09:17 | Mathieu Malaterre | Assigned To | Mathieu Malaterre => David Cole | ||
| 2011-01-19 08:52 | Utkarsh Ayachit | Assigned To | David Cole => David Partyka | ||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2013-07-22 20:33 | Dave DeMarle | Status | backlog => expired | ||
| 2013-07-22 20:33 | Dave DeMarle | Note Added: 0031303 | |||
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036721 | |||
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||