[vtkusers] [Paraview] Possible vtkOBBTree bug or weirdness
David Doria
daviddoria at gmail.com
Wed Nov 21 06:28:38 EST 2012
On Wed, Nov 21, 2012 at 6:16 AM, Andrew Parker <
andy.john.parker at googlemail.com> wrote:
> ation of t
For line/mesh intersection I use vtkModifiedBSPTree:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/DataStructures/ModifiedBSPTree_IntersectWithLine
The way all of these line intersection algorithms works is that they
actually intersect a finite line with the mesh. The 't' that gets returned
is the relative distance along that line, so if the intersection occurs
half way between the end points of the line segment, t would be 0.5. A t>1
seems to indicate that the length of the line segment you choose is too
short, so that the line segment doesn't actually intersect the mesh between
it's end points.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121121/15859b4c/attachment.htm>
More information about the vtkusers
mailing list