View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026750 | Open CASCADE | OCCT:Modeling Algorithms | public | 2015-10-05 09:57 | 2016-04-20 15:49 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 7.0.0 | Fixed in Version | 7.0.0 | ||
Summary | 0026750: Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two vectors is equal to -90 degree (-M_PI/2 radian) | ||||
Description | Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two vectors is equal to -90 degree (-M_PI/2 radian). See Steps to reproduce. | ||||
Steps To Reproduce | gp_Vec2d aVec1(1.0, 0.0); gp_Vec2d aVec2(0.0, -1.0); aVec1.IsNormal(aVec2, Precision::Angular()); //Returns FALSE ------------------------- Test case for this issue has been created. | ||||
Tags | No tags attached. | ||||
Test case number | bugs modalg_6 bug26750 | ||||
related to | 0025605 | closed | Optimize methods of gp_* classes to avoid sqrt() function calling |
|
Branch CR26750 has been created by nbv. SHA-1: 5b6138b59ee589853f9fcac874d9d90671275c8c Detailed log of new commits: Author: nbv Date: Mon Oct 5 10:30:50 2015 +0300 0026750: Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two vectors is equal to -90 degree (-M_PI/2 radian) The bug has been fixed. Test case for this issue has been created. |
|
Dear Mikhail, Please review CR26750 branch. |
|
Remarks: src\gp\gp_Vec2d.hxx 1) Why did you changed description? Your modifications have no sense, as you say the same by other words. I propose to leave original description. 2) The word Standard_EXPORT is extra when the method is inline. 3) Why did you move the definition of inline method from .lxx file to .hxx? If to move then it is needed to move all methods and remove the file .lxx at all. But I suggest leaving definition of the method IsNormal in .lxx file. src\gp\gp_Vec2d.lxx 4) The only change is needed in the line 78: 78: Ang = M_PI / 2.0 - Angle(Other); to change it to 78: Ang = M_PI / 2.0 - Ang; No need to rewrite the whole method. src\gp\gp_Dir2d.hxx src\gp\gp_Dir2d.lxx 5) No need to modify gp_Dir2d as it contains no error. |
|
Dear Nikolay, please do as less modifications as possible to resolve a bug in the future. |
|
Branch CR26750_1 has been created by nbv. SHA-1: 0614965f15c4ee7a2572445f3698133df1cd07ef Detailed log of new commits: Author: nbv Date: Mon Oct 5 10:30:50 2015 +0300 0026750: Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two vectors is equal to -90 degree (-M_PI/2 radian) The bug has been fixed. Test case for this issue has been created. |
|
Dear Mikhail, Please review CR26750_1 branch. |
|
Branch CR26750_1 has been updated by nbv. SHA-1: b76e5b6f75966eb3ada9f298e0fcb63c35f1016f Detailed log of new commits: Author: nbv Date: Mon Oct 5 14:54:31 2015 +0300 Correct alignment. |
|
Reviewed. |
|
Dear BugMaster, Branch CR26750_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested. SHA-1: b76e5b6f75966eb3ada9f298e0fcb63c35f1016f Number of compiler warnings: occt component: Linux: 13 (13 on master) Windows: 0 (0 on master) products component: Linux: 39 (39 on master) Windows: 0 (0 on master) Regressions/Differences: Not detected Testing cases: bugs modalg_6 bug26750 - OK http://occt-tests/CR26750-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26750.html http://occt-tests/CR26750-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26750.html Testing on Linux: Total MEMORY difference: 91891182 / 92324358 [-0.47%] Total CPU difference: 19748.59999999947 / 19582.12999999974 [+0.85%] Testing on Windows: Total MEMORY difference: 58079091 / 58090988 [-0.02%] Total CPU difference: 18082.387911998776 / 18228.91965129895 [-0.80%] |
|
Branch CR26750 has been deleted by kgv. SHA-1: 5b6138b59ee589853f9fcac874d9d90671275c8c |
|
Branch CR26750_1 has been deleted by kgv. SHA-1: b76e5b6f75966eb3ada9f298e0fcb63c35f1016f |
occt: master d0fcf95a 2015-10-08 07:14:30
Committer: bugmaster Details Diff |
0026750: Method IsNormal(...) for gp_Vec2d returns FALSE if the angle between two vectors is equal to -90 degree (-M_PI/2 radian) The bug has been fixed. Test case for this issue has been created. Correct alignment. |
Affected Issues 0026750 |
|
mod - src/gp/gp_Vec2d.hxx | Diff File | ||
mod - src/gp/gp_Vec2d.lxx | Diff File | ||
mod - src/QABugs/QABugs_19.cxx | Diff File | ||
add - tests/bugs/modalg_6/bug26750 | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-05 09:57 |
|
New Issue | |
2015-10-05 09:57 |
|
Assigned To | => nbv |
2015-10-05 11:43 | git | Note Added: 0046440 | |
2015-10-05 11:43 |
|
Status | new => assigned |
2015-10-05 11:44 |
|
Note Added: 0046441 | |
2015-10-05 11:44 |
|
Assigned To | nbv => msv |
2015-10-05 11:44 |
|
Status | assigned => resolved |
2015-10-05 11:44 |
|
Steps to Reproduce Updated | |
2015-10-05 11:45 |
|
Relationship added | related to 0025605 |
2015-10-05 13:03 |
|
Note Added: 0046446 | |
2015-10-05 13:03 |
|
Assigned To | msv => nbv |
2015-10-05 13:03 |
|
Status | resolved => assigned |
2015-10-05 13:04 |
|
Note Added: 0046447 | |
2015-10-05 13:18 | git | Note Added: 0046450 | |
2015-10-05 13:19 |
|
Note Added: 0046451 | |
2015-10-05 13:19 |
|
Assigned To | nbv => msv |
2015-10-05 13:19 |
|
Status | assigned => resolved |
2015-10-05 14:54 | git | Note Added: 0046462 | |
2015-10-05 14:56 |
|
Note Added: 0046463 | |
2015-10-05 14:56 |
|
Assigned To | msv => bugmaster |
2015-10-05 14:56 |
|
Status | resolved => reviewed |
2015-10-05 14:59 |
|
Assigned To | bugmaster => apv |
2015-10-06 12:48 |
|
Note Added: 0046498 | |
2015-10-06 12:48 |
|
Assigned To | apv => bugmaster |
2015-10-06 12:48 |
|
Status | reviewed => tested |
2015-10-06 12:49 |
|
Test case number | => bugs modalg_6 bug26750 |
2015-10-09 15:22 | bugmaster | Changeset attached | => occt master d0fcf95a |
2015-10-09 15:22 | bugmaster | Status | tested => verified |
2015-10-09 15:22 | bugmaster | Resolution | open => fixed |
2015-10-16 16:58 | git | Note Added: 0047104 | |
2015-10-16 16:58 | git | Note Added: 0047105 | |
2016-04-20 15:44 |
|
Fixed in Version | => 7.0.0 |
2016-04-20 15:49 |
|
Status | verified => closed |