View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002531VTK(No Category)public2005-11-28 13:562016-08-12 09:54
ReporterDavid Gobbi 
Assigned ToWill Schroeder 
PrioritylowSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002531: OBB tree tolerance not always applied correctly
DescriptionThese comments refer to Revision: 1.63 of vtkOBBTree.cxx

The Tolerance in a locator is meant to signify an absolute distance in world coordinates. Two vtkOBBTree methods do not properly use the tolerance: DisjointOBBNodes and TriangleIntersectsNode. Neither of these methods are covered by any tests.

DisjointOBBNodes:

The "rangeAMax", "rangeAMin" etc. are in units of world coord dimension squared. Before "eps" is added to these values, it needs to be scaled appropriately. Because it is not scaled properly, too small a tolerance is applied to large OBB nodes, and too large a tolerance is applied to small OBB nodes.

On line 1513 (the 1st test), "eps" should be multiplied by the modulus of "AtoB" in order to scale it properly.

On line 1540 (the 2nd test, which is called the 3rd test in the code), "eps" should be multiplied by the modulus of pB->Axes[ii].

On line 1568 (the 3nd test, which is called the 2nd test in the code), "eps" should be multiplied by the modulus of pA->Axes[ii].

On line 1608 (the 4st test), "eps" should be multiplied by the modulus of "AtoB".

TriangleIntersectsNode has similar problems with its three checks.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0036809)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036809
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team