View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023303 | Community | OCCT:Modeling Algorithms | public | 2012-07-17 16:15 | 2012-11-16 13:17 |
Reporter | Pawel | Assigned To | Pawel | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | A | OS | L | ||
Product Version | 6.5.3 | ||||
Target Version | 6.5.4 | Fixed in Version | 6.5.4 | ||
Summary | 0023303: Expression always true in ShapeFix_Face.cxx | ||||
Description | In lines 591 if(iter.Value().Orientation() != TopAbs_FORWARD || iter.Value().Orientation() != TopAbs_REVERSED) and 1704 (wi.Value().Orientation() != TopAbs_FORWARD || wi.Value().Orientation() != TopAbs_REVERSED)) the conditions are always true. '||' should probably be replaced with '&&'. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Corresponding git branch pushed. Please review. For the FixSmallAreaWire method the documentation says: "Detects wires with small area (that is less than 100*Precision::PConfusion(). Removes these wires if they are internal." The bugfix conforms to this. For 'NeedCheckSplitWire' option in the Perform method the same assumption is made although no documentation on this could be found. Hence, it would be great if someone who is familiar with ShapeFix could have a look at this bugfix. |
|
No remarks, please test |
|
Dear BugMaster, The workbenches KAS:dev:mkv-23303-occt (GIT branch CR23303) KAS:dev:mkv-23303-products (GIT master) were compiled on Linux platform and tested. Regression: Not detected Improvements: Not detected Testing case: Not needed See results in /QADisk/occttests/results/KAS/dev/mkv-23303-products_18072012/lin See reference results in /QADisk/occttests/results/KAS/dev/products-20120706-opt_06072012/lin See test cases in /QADisk/occttests/tests/ED N.B. In order to launch testing case you can make use the following instructions http://doc/doku.php?id=occt:certification |
occt: master 56084216 2012-07-17 12:43:45 Details Diff |
0023303: Expression always true in ShapeFix_Face.cxx The two corrected if-clause conditions were always true. In FixSmallAreaWire where the documentation says: "Detects wires with small area (that is less than 100*Precision::PConfusion(). Removes these wires if they are internal." and the bugfix conforms to this. For 'NeedCheckSplitWire' option in the Perform method the same assumption is made although no documentation on this could be found. |
Affected Issues 0023303 |
|
mod - src/ShapeFix/ShapeFix_Face.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-17 16:15 | Pawel | New Issue | |
2012-07-17 16:15 | Pawel | Assigned To | => Pawel |
2012-07-17 16:51 | Pawel | Note Added: 0021015 | |
2012-07-17 16:51 | Pawel | Assigned To | Pawel => bugmaster |
2012-07-17 16:51 | Pawel | Status | new => resolved |
2012-07-17 16:57 | Pawel | Relationship added | has duplicate 0023146 |
2012-07-18 08:14 |
|
Note Added: 0021028 | |
2012-07-18 08:14 |
|
Status | resolved => reviewed |
2012-07-18 15:31 |
|
Assigned To | bugmaster => mkv |
2012-07-18 15:40 |
|
Assigned To | mkv => Pawel |
2012-07-18 15:40 |
|
Assigned To | Pawel => mkv |
2012-07-19 14:28 |
|
Note Added: 0021065 | |
2012-07-19 14:28 |
|
Test case number | => Not needed |
2012-07-19 14:28 |
|
Assigned To | mkv => bugmaster |
2012-07-19 14:28 |
|
Status | reviewed => tested |
2012-07-23 12:20 | Pawel | Changeset attached | => occt master 56084216 |
2012-07-23 12:22 | Pawel | Assigned To | bugmaster => Pawel |
2012-07-23 12:22 | Pawel | Status | tested => verified |
2012-07-23 12:22 | Pawel | Resolution | open => fixed |
2012-11-16 13:14 | bugmaster | Fixed in Version | => 6.5.4 |
2012-11-16 13:17 | bugmaster | Status | verified => closed |