View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023051 | Community | OCCT:Modeling Algorithms | public | 2012-04-02 09:53 | 2012-04-10 10:19 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.5.2 | ||||
Target Version | 6.5.3 | Fixed in Version | 6.5.3 | ||
Summary | 0023051: Bug in BRepExtrema_DistShapeShape (through BRepExtrema_DistanceSS) | ||||
Description | The problem is reported by Rob Bachrach on OCCT User's forum at http://www.opencascade.org/org/forum/thread_23040: ---------- When computing the distance between a face or edge and a vertex, with the vertex as the second argument, PointOnShape1 and PointOnShape2 results are switched. This seems to have been introduced in 6.5.1 and persists in 6.5.2. In 6.5.2, the lines 735 & 736 need to be changed from: const BRepExtrema_SolutionElem Sol1(Dstmin,P1,BRepExtrema_IsOnEdge,S1,t); const BRepExtrema_SolutionElem Sol2(Dstmin,Pt,BRepExtrema_IsVertex,S2); to const BRepExtrema_SolutionElem Sol1(Dstmin,Pt,BRepExtrema_IsOnEdge,S1,t); const BRepExtrema_SolutionElem Sol2(Dstmin,P1,BRepExtrema_IsVertex,S2); and lines 851 and 852 need to be changed from: const BRepExtrema_SolutionElem Sol1(Dstmin,P1,BRepExtrema_IsInFace,S1,U,V); const BRepExtrema_SolutionElem Sol2(Dstmin,Pt,BRepExtrema_IsVertex,S2); to const BRepExtrema_SolutionElem Sol1(Dstmin,Pt,BRepExtrema_IsInFace,S1,U,V); const BRepExtrema_SolutionElem Sol2(Dstmin,P1,BRepExtrema_IsVertex,S2); ------- Note that the problem with edge has been fixed already in #22758, while the problem with face is still there | ||||
Steps To Reproduce | See attached script bug_distshape_fv.tcl | ||||
Tags | No tags attached. | ||||
Test case number | chl 934 X8 | ||||
2012-04-02 09:53 manager |
bug_distshape_fv.tcl (1,338 bytes) |
|
Fix integrated to branch CR23051; please test |
|
Dear BugMaster, Workbench KAS:dev:apn-23051-occt was created from git branch CR23051 (and apn-23051-products from svn trunk) and compiled on Linux platform. There are not regressions in apn-23051-products regarding to KAS:dev:products-20120329-opt Test case for this fix is chl 934 X8. It's OK. See results in /QADisk/occttests/results/KAS/dev/apn-23051-products_02042012/lin See reference results in /QADisk/occttests/results/KAS/dev/products-20120329-opt_29032012/lin See test cases in /QADisk/occttests/tests/ED |
|
X8 (1,559 bytes) |
occt: master 46def2b5 2012-04-02 08:55:25
Committer: abv Details Diff |
0023051: Bug in BRepExtrema_DistShapeShape (through BRepExtrema_DistanceSS) Fixed problem of returning swapped solution points for extrema between face and vertex. |
Affected Issues 0023051 |
|
mod - src/BRepExtrema/BRepExtrema_DistanceSS.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-04-02 09:53 |
|
New Issue | |
2012-04-02 09:53 |
|
Assigned To | => abv |
2012-04-02 09:53 |
|
File Added: bug_distshape_fv.tcl | |
2012-04-02 13:07 |
|
Status | new => resolved |
2012-04-02 13:09 |
|
Note Added: 0020235 | |
2012-04-02 13:09 |
|
Status | resolved => reviewed |
2012-04-02 13:45 | apn | Test case number | => chl 934 X8 |
2012-04-02 14:35 |
|
Assigned To | abv => apn |
2012-04-02 17:07 | apn | Note Added: 0020239 | |
2012-04-02 17:08 | apn | File Added: X8 | |
2012-04-02 17:08 | apn | Assigned To | apn => bugmaster |
2012-04-02 17:08 | apn | Status | reviewed => tested |
2012-04-10 10:18 |
|
Changeset attached | => occt master 46def2b5 |
2012-04-10 10:19 |
|
Assigned To | bugmaster => abv |
2012-04-10 10:19 |
|
Status | tested => verified |
2012-04-10 10:19 |
|
Resolution | open => fixed |