View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009164 | VTK | (No Category) | public | 2009-06-16 12:09 | 2009-08-11 15:22 | ||||
Reporter | John Stark | ||||||||
Assigned To | Bob O'Bara | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009164: vtkBoundingBox::GetBound returns incorrect bound. | ||||||||
Description | The use of bit-wise OR in vtkBoundingBox::GetBound(int i) seems to be incorrect. As implemented the maximum bound is always returned, rather than the min or max. I suggest the "(i | 0x1)" should be "(i & 0x1)". | ||||||||
Additional Information | inline double vtkBoundingBox::GetBound(int i) const { // If i is odd then when are returning a part of the max bounds // else part of the min bounds is requested. The exact component // needed is i /2 (or i right shifted by 1 return ((i | 0x1) ? this->MaxPnt[i>>1] : this->MinPnt[i>>1]); } -------------^ Error here? | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0017076) Bob O'Bara (developer) 2009-08-06 12:05 |
revision 1.10 date: 2009-06-18 15:54:45 -0400; author: obara; state: Exp; lines: +1 -1; commitid: MrAMzGUdVpRcknSt; BUG:Fixed logic error with GetBounds |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-06-16 12:09 | John Stark | New Issue | |
2009-08-06 12:04 | Bob O'Bara | Status | backlog => tabled |
2009-08-06 12:04 | Bob O'Bara | Assigned To | => Bob O'Bara |
2009-08-06 12:05 | Bob O'Bara | Note Added: 0017076 | |
2009-08-06 12:05 | Bob O'Bara | Status | tabled => @80@ |
2009-08-06 12:05 | Bob O'Bara | Resolution | open => fixed |
2009-08-11 15:22 | François Bertel | Status | @80@ => closed |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |