View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000183VTK(No Category)public2003-09-22 19:012004-01-21 19:32
ReporterClinton Stimpson 
Assigned ToMathieu Malaterre 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000183: vtkPolygon::IntersectWithLine tolerance problem
DescriptionCan't intersect with polygons within a tolerance.
If the intersection was within the polygon, it works fine.

In vtkPolygon::IntersectWithLine(...)
there is a
if( EvaluatePosition(...) )
{ ... }

If I compare that to vtkTriangle's it is a bit different.

It should be
if( EvaluatePosition(...) >= 0 )
{ ... }
 so if '0' is returned, we can still check if it
is within tolerance and say the ray intersected.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0000545)
Mathieu Malaterre (developer)
2004-01-21 19:03

Already fixed in CVS:

http://vtk.org/cgi-bin/cvsweb.cgi/VTK/Common/vtkPolygon.cxx.diff?r1=1.99&r2=1.100 [^]

Do we need to merge this in VTK 4.2 branch ?
(0000547)
Clinton Stimpson (developer)
2004-01-21 19:24

That would be wonderful if it was put in the 4.2 branch. I keep patching 4.2 code I download and build for different platforms because it is a big deal in my app.
(0000550)
Mathieu Malaterre (developer)
2004-01-21 19:32

Ken, do I need to merge this in VTK 4.2 branch ?

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team