View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029582 | Open CASCADE | OCCT:Coding | public | 2018-03-15 15:27 | 2018-06-29 21:21 |
Reporter | kgv | Assigned To | bugmaster | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.1.0 | ||||
Target Version | 7.3.0 | Fixed in Version | 7.3.0 | ||
Summary | 0029582: Coding Rules, Bnd_Range - inconsistent methods pair GetMin()/GetMAX() | ||||
Description | For unknown reason, two getters of Bnd_Range class are named inconsistently: - ::GetMin() - ::GetMAX() It is desired renaming methods for consistency. In addition, class lacks the method ::Add() taking another Bnd_Range (extending range in both directions), usual for other classes in package Bnd. There is only method ::Union() which has another meaning (extend range only if it overlaps with another one). | ||||
Steps To Reproduce | N/A | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR29582 has been created by kgv. SHA-1: 105309c634bd58d889eff597ab7742430c188fec Detailed log of new commits: Author: kgv Date: Thu Mar 15 22:38:19 2018 +0300 0029582: Coding Rules, Bnd_Range - inconsistent methods pair GetMin()/GetMAX() Cosmetics - removed redundant semicolons. Method ::GetMAX() has been renamed to ::GetMax(). Added method ::Add() taking another Bnd_Range as argument. Added methods ::IsOut() mimicing a Bnd_Box interface. Methods ::Shift() and ::Shifted() no more modify Void range. |
|
Patch is ready for review. http://jenkins-test-10.nnov.opencascade.com/view/CR29582-master-KGV/ |
|
Branch CR29582 has been updated by kgv. SHA-1: 723d00fb9495130c3af0305b16788dac7899144e Detailed log of new commits: Author: kgv Date: Fri Mar 16 14:03:54 2018 +0300 # remove GetMAX() completely |
|
No remarks, please integrate |
|
Combination - OCCT branch : CR29582 SHA - 105309c634bd58d889eff597ab7742430c188fec Products branch : master SHA - 4fd289ec73d35d02f23f3990c73b3acac9a60574 was compiled on Linux, MacOS and Windows platforms and tested in optimize mode. Number of compiler warnings: No new/fixed warnings Regressions/Differences/Improvements: No regressions/differences CPU differences: Debian70-64: OCCT Total CPU difference: 18278.62999999961 / 18338.37999999957 [-0.33%] Products Total CPU difference: 7507.660000000009 / 7461.340000000009 [+0.62%] Windows-64-VC10: OCCT Total CPU difference: 17659.703202498542 / 17653.338361698563 [+0.04%] Products Total CPU difference: 8014.504574699988 / 7990.761222500007 [+0.30%] Image differences : No differences that require special attention Memory differences : No differences that require special attention |
|
Branch CR29582 has been deleted by kgv. SHA-1: 723d00fb9495130c3af0305b16788dac7899144e |
occt: master 8662560e 2018-03-15 19:38:19 Committer: bugmaster Details Diff |
0029582: Coding Rules, Bnd_Range - inconsistent methods pair GetMin()/GetMAX() Cosmetics - removed redundant semicolons. Method ::GetMAX() has been renamed to ::GetMax(). Added method ::Add() taking another Bnd_Range as argument. Added methods ::IsOut() mimicing a Bnd_Box interface. Methods ::Shift() and ::Shifted() no more modify Void range. |
Affected Issues 0029582 |
|
mod - src/Bnd/Bnd_Range.hxx | Diff File | ||
mod - src/IntPatch/IntPatch_ImpImpIntersection_4.gxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-15 15:27 | kgv | New Issue | |
2018-03-15 15:27 | kgv | Assigned To | => kgv |
2018-03-15 15:27 | kgv | Relationship added | related to 0023178 |
2018-03-15 15:30 | kgv | Product Version | 7.2.0 => 7.1.0 |
2018-03-15 22:38 | git | Note Added: 0074520 | |
2018-03-15 23:04 | kgv | Note Added: 0074521 | |
2018-03-15 23:04 | kgv | Assigned To | kgv => abv |
2018-03-15 23:04 | kgv | Status | new => resolved |
2018-03-16 14:04 | git | Note Added: 0074539 | |
2018-03-16 14:15 |
|
Note Added: 0074543 | |
2018-03-16 14:15 |
|
Assigned To | abv => bugmaster |
2018-03-16 14:15 |
|
Status | resolved => reviewed |
2018-03-16 15:08 | bugmaster | Test case number | => Not needed |
2018-03-16 16:49 | bugmaster | Note Added: 0074557 | |
2018-03-16 16:49 | bugmaster | Status | reviewed => tested |
2018-03-18 13:21 | bugmaster | Changeset attached | => occt master 8662560e |
2018-03-18 13:21 | bugmaster | Status | tested => verified |
2018-03-18 13:21 | bugmaster | Resolution | open => fixed |
2018-03-19 10:05 | git | Note Added: 0074619 | |
2018-06-29 21:16 |
|
Fixed in Version | => 7.3.0 |
2018-06-29 21:21 |
|
Status | verified => closed |