View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024803 | Open CASCADE | OCCT:Modeling Algorithms | public | 2014-04-07 14:42 | 2015-05-14 16:25 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.7.0 | ||||
Target Version | 6.9.0 | Fixed in Version | 6.9.0 | ||
Summary | 0024803: improve the result of v/v interference for two vertices case | ||||
Description | The center of enclosing vertex of two vertices is calculated as the center of line connecting these vertices. The radius of enclosing vertex is the distance from enclosing vertex center to the center of being enclosed vertex with maximum radius. (for more details you can read "General Fuse Algorithm,Boolean Operations Algorithm, Partition Algorithm" article, 0024649,chapter 4.1.1. Vertex/Vertex interference) for case when two vertices have equal radii this approach is correct, but otherwise there is the need to do calculation in a different way. say, a ball is a vertex with some radius. if some ball encloses two some other balls. there is a smallest enclosed ball that covers and _touches_ these two balls. there is the need to calculate the center of enclosing ball and its radius for the case when being enclosing two balls have different radii | ||||
Steps To Reproduce | vertex v1 0 0 0 settolerance v1 1.0 vertex v2 4 0 0 settolerance v2 3.5 bop v1 v2 bopcommon result tolerance result dump result # # the result is: ... TShape # 2 : VERTEX 0101101 7EF2FCC0 Tolerance : 5.5 - Point 3D : 2, 0, 0 # # but it should be: ... TShape # 2 : VERTEX 0101101 7EF2FCC0 Tolerance : 4.25 - Point 3D : 3.25, 0, 0 | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_6(011) bug24803 | ||||
2015-03-24 18:39 developer |
emclosing_vertex.PNG (14,269 bytes) |
2015-03-24 18:47 developer |
enclosing_vertex_corrected.PNG (12,530 bytes) |
|
Two attached pictures show the current (invalid) enclosing vertex and corrected one. |
|
Dear Peter, please take care of this issue. |
|
Branch CR24803_1 has been created by pkv. SHA-1: c1e0171c58de4f81b0fc4fd5e0d5ea31876252b8 No new revisions were added by this update. |
|
Branch CR24803_1 has been updated by pkv. SHA-1: e5a77b76b2d8d2f4b6c1b3af5a96331caadefc84 Detailed log of new commits: Author: pkv Date: Fri Apr 3 07:28:18 2015 +0300 0024803: improve the result of v/v interference for two vertices case I. New features: No new features. II. Changes: II.1. class BOPTools_AlgoTools - method: void BOPTools_AlgoTools::MakeVertex(BOPCol_ListOfShape& aLV, TopoDS_Vertex& aVnew) has been changed. The section for case of two vertices has been added III. Modified entities: packages: BOPTools |
|
Git branch CR24803_1 is ready to be reviewed |
|
The modification dealt with the case of two vertices. For the general case of N vertices there is no easy feasible solution for the moment. |
|
Reviewed. |
|
Branch CR24803_1 has been updated forcibly by mkv. SHA-1: 15763cb2adc8644d96695196f4aea67c7acfe1fd |
|
Dear BugMaster, Branch CR24803_1 was rebased on IR-2015-04-06 of occt git-repository. |
|
Dear BugMaster, Branch CR24803_1from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 15763cb2adc8644d96695196f4aea67c7acfe1fd Number of compiler warnings: occt component : Linux: 18 (18 on master) Windows: 0 (0 on master) products component : Linux: 4 (4 on master) Windows: 0 (0 on master) Regressions/Differences: No regressions/differences Testing cases: http://occt-tests/CR24803-1-master-occt-64/Debian60-64/bugs/modalg_6/bug24803.html http://occt-tests/CR24803-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug24803.html bugs modalg_6(011) bug24803: OK Testing on Linux: occt component : Total MEMORY difference: 93500517 / 93953474 [-0.48%] Total CPU difference: 58128.33999999942 / 52005.73999999962 [+11.77%] products component : Total MEMORY difference: 23504578 / 23598467 [-0.40%] Total CPU difference: 17861.999999999967 / 15592.839999999998 [+14.55%] Testing on Windows: occt component : Total MEMORY difference: 57062780 / 57074762 [-0.02%] Total CPU difference: 15804.835712398952 / 16635.463036899022 [-4.99%] products component : Total MEMORY difference: 15307166 / 15311228 [-0.03%] Total CPU difference: 5741.648005199963 / 6012.5749418999785 [-4.51%] There are no differences in images found by testdiff. |
|
Branch CR24803_1 has been updated by mkv. SHA-1: 19a5b5946876e9c8261b61cf10f010e401a184ac Detailed log of new commits: Author: mkv Date: Thu Apr 9 14:06:59 2015 +0300 Test case for issue CR24803 |
|
Dear BugMaster, Branch CR24803_1 is TESTED. |
|
Branch CR24803 has been deleted by inv. SHA-1: 9ad393f13343bd8aa9229f70a35c920f1d9b005a |
|
Branch CR24803_1 has been deleted by inv. SHA-1: 19a5b5946876e9c8261b61cf10f010e401a184ac |
occt: master 138ac530 2015-04-09 13:26:40
Committer: bugmaster Details Diff |
0024803: improve the result of v/v interference for two vertices case Changes: class BOPTools_AlgoTools - method: void BOPTools_AlgoTools::MakeVertex(BOPCol_ListOfShape& aLV, TopoDS_Vertex& aVnew) has been changed. The section for case of two vertices has been added Test case for issue CR24803 |
Affected Issues 0024803 |
|
mod - src/BOPTools/BOPTools_AlgoTools.cxx | Diff File | ||
add - tests/bugs/modalg_6/bug24803 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-07 14:42 |
|
New Issue | |
2014-04-07 14:42 |
|
Assigned To | => ibs |
2014-04-07 14:51 |
|
Description Updated | |
2014-04-07 14:52 |
|
Status | new => assigned |
2014-04-07 15:13 |
|
Description Updated | |
2014-04-07 15:14 |
|
Description Updated | |
2014-04-07 15:29 |
|
Description Updated | |
2014-04-07 15:50 |
|
Description Updated | |
2014-04-11 11:42 |
|
Product Version | 6.8.0 => 6.7.0 |
2014-04-11 11:42 |
|
Target Version | 6.7.1 => 6.8.0 |
2014-04-16 16:59 |
|
Assigned To | ibs => pkv |
2014-04-16 16:59 |
|
Status | assigned => feedback |
2014-04-17 10:10 |
|
Status | feedback => assigned |
2014-09-26 11:35 |
|
Target Version | 6.8.0 => 7.1.0 |
2015-03-24 10:32 |
|
Assigned To | pkv => msv |
2015-03-24 10:47 |
|
Target Version | 7.1.0 => 6.9.0 |
2015-03-24 18:39 |
|
File Added: emclosing_vertex.PNG | |
2015-03-24 18:47 |
|
File Added: enclosing_vertex_corrected.PNG | |
2015-03-24 18:48 |
|
Note Added: 0038854 | |
2015-03-25 14:19 |
|
Assigned To | msv => pkv |
2015-03-25 14:20 |
|
Note Added: 0038888 | |
2015-04-03 07:27 | git | Note Added: 0039180 | |
2015-04-03 07:28 | git | Note Added: 0039181 | |
2015-04-03 07:29 |
|
Status | assigned => resolved |
2015-04-03 07:30 |
|
Note Added: 0039182 | |
2015-04-03 07:30 |
|
Assigned To | pkv => emv |
2015-04-03 07:33 |
|
Note Added: 0039183 | |
2015-04-03 07:45 |
|
Steps to Reproduce Updated | |
2015-04-03 09:09 |
|
Note Added: 0039184 | |
2015-04-03 09:09 |
|
Assigned To | emv => mkv |
2015-04-03 09:09 |
|
Status | resolved => reviewed |
2015-04-06 19:45 | git | Note Added: 0039278 | |
2015-04-09 14:09 |
|
Note Added: 0039486 | |
2015-04-09 14:10 |
|
Note Added: 0039487 | |
2015-04-09 14:10 |
|
Assigned To | mkv => bugmaster |
2015-04-09 14:10 |
|
Status | reviewed => tested |
2015-04-09 14:10 | git | Note Added: 0039488 | |
2015-04-09 14:11 |
|
Test case number | => bugs modalg_6(011) bug24803 |
2015-04-09 14:11 |
|
Note Added: 0039489 | |
2015-04-10 14:09 | bugmaster | Changeset attached | => occt master 138ac530 |
2015-04-10 14:09 | bugmaster | Status | tested => verified |
2015-04-10 14:09 | bugmaster | Resolution | open => fixed |
2015-05-14 15:28 |
|
Status | verified => closed |
2015-05-14 15:31 |
|
Fixed in Version | => 6.9.0 |
2015-05-14 16:25 | git | Note Added: 0040947 | |
2015-05-14 16:25 | git | Note Added: 0040948 |