MantisBT - VTK
View Issue Details
0001938VTK(No Category)public2005-06-15 10:452016-08-12 09:54
Jean Favre 
Will Schroeder 
lowminoralways
closedmoved 
 
 
0001938: intersectWithLine has problems with penta- and hexa-prism
The problem is that both cell types use vtkPolygon to check intersection with the pentagons and hexagons of the cell. But vtkPolygon assumes the Polygon is perfectly planar, which is far from the reality of industrial-size meshes.

We propose to change the intersection checks with vtkPolygon with 2 checks against vtkQuad (which already handles non-planar quads) and 1 vtkQuad+vtktriangle checks for the pentagon.

source code and Tcl test follow in the attachment.
No tags attached.
? annotatePick.2.tcl (4,252) 1969-12-31 19:00
https://www.vtk.org/Bug/file/5301/annotatePick.2.tcl
? vtkPentagonalPrism.h (4,222) 1969-12-31 19:00
https://www.vtk.org/Bug/file/5302/vtkPentagonalPrism.h
cxx vtkPentagonalPrism.cxx (25,218) 1969-12-31 19:00
https://www.vtk.org/Bug/file/5303/vtkPentagonalPrism.cxx
cxx vtkHexagonalPrism.cxx (24,157) 1969-12-31 19:00
https://www.vtk.org/Bug/file/5304/vtkHexagonalPrism.cxx
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036791
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0002500)
Jean Favre   
2005-06-15 10:48   
The modified source code + Tcl test as described in my bug report.

Cheers
Jean
(0036791)
Kitware Robot   
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.