View Issue Details

IDProjectCategoryView StatusLast Update
0028103Open CASCADEOCCT:Foundation Classespublic2016-12-09 16:39
ReporterabkAssigned Toapn  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version7.0.0 
Target Version7.1.0Fixed in Version7.1.0 
Summary0028103: Foundation Classes - extend NCollection_Map to check whether two given maps are intersected
DescriptionExtend type 'NCollection_Map' by method 'IsIntersection' to check whether two given maps are intersected.
Steps To Reproducetest collections n map
TagsNo tags attached.
Test case numbercollections n map

Activities

git

2016-11-14 18:09

administrator   ~0060317

Branch CR28103 has been created by abk.

SHA-1: a271e571834d0b7b287a877102192ed38c657ac4


Detailed log of new commits:

Author: abk
Date: Mon Nov 14 18:08:44 2016 +0300

    28103: Extend type 'NCollection_Map' to check whether two given maps are intersected
    
    Mehtod 'IsIntersection' was created to check whether two given 'NCollection_Map' maps are intersected.
    
    'Draw' command and test to check the method were created.

abk

2016-11-14 18:11

developer   ~0060318

The method was created.
Please review.

git

2016-11-14 18:22

administrator   ~0060319

Branch CR28103 has been updated forcibly by abk.

SHA-1: 5d6b779f0219e76510ab8db46c929f9993f7e67d

msv

2016-11-14 19:22

developer   ~0060322

Reviewed.

mkv

2016-11-15 15:51

tester   ~0060367

Dear BugMaster,
Branch CR28103 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
SHA-1: 5d6b779f0219e76510ab8db46c929f9993f7e67d

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

products component :
Linux: 63 (63 on master)
Windows: 0 (0 on master)
MacOS : 1123

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
http://occt-tests/CR28103-master-OCCT/Debian70-64/collections/n/map.html
http://occt-tests/CR28103-master-OCCT/Windows-64-VC10/collections/n/map.html
collections n map: OK

Testing on Linux:
occt component :
Total MEMORY difference: 90911185 / 91880280 [-1.05%]
Total CPU difference: 21718.740000000158 / 21600.70000000031 [+0.55%]
products component :
Total MEMORY difference: 29967472 / 29935586 [+0.11%]
Total CPU difference: 5305.989999999976 / 5309.249999999963 [-0.06%]

Testing on Windows:
occt component :
Total MEMORY difference: 56587780 / 56597852 [-0.02%]
Total CPU difference: 20137.57628619847 / 19669.510885798518 [+2.38%]
products component :
Total MEMORY difference: 20822543 / 20790286 [+0.16%]
Total CPU difference: 5280.633849999977 / 5153.477434899959 [+2.47%]

There are no differences in images found by testdiff.

git

2016-11-15 15:51

administrator   ~0060368

Branch CR28103 has been updated by mkv.

SHA-1: 8e1c97547f35aa92ce121d0c665daf3830ede9ea


Detailed log of new commits:

Author: mkv
Date: Tue Nov 15 15:50:46 2016 +0300

    Small correction of test case for issue CR28103

mkv

2016-11-15 15:52

tester   ~0060370

Dear BugMaster,
Branch CR28103 is TESTED.

abv

2016-11-17 06:23

manager   ~0060474

Alexander, Mikhail: can you explain why the new method is called "IsIntersection" and not "HasIntersection"?

msv

2016-11-17 11:07

developer   ~0060480

I agree that HasIntersection is better.

git

2016-11-17 15:09

administrator   ~0060497

Branch CR28103_1 has been created by abv.

SHA-1: 3418ad63cd48e57e09f89e8d313551b2f3605307


Detailed log of new commits:

Author: abk
Date: Mon Nov 14 18:08:44 2016 +0300

    28103: Extend type 'NCollection_Map' to check whether two given maps are intersected
    
    Mehtod HasIntersection added in NCollection_Map to check whether two given maps contain at least one same item.
    
    'Draw' command and test to check the method were created.

abv

2016-11-17 15:10

manager   ~0060498

Please integrate branch CR28103_1: it is the same as CR28103, just the new method is renamed to "HasIntersection"

apn

2016-11-18 14:16

administrator   ~0060528

There is new warning on vc14 (win32 and win64):

QANCollection_Test.cxx:345, MSBuild, Priority: Normal
declaration of 'aM2' hides previous local declaration

git

2016-11-18 14:30

administrator   ~0060530

Branch CR28103_1 has been updated forcibly by abk.

SHA-1: 4d0b358696ac181e152ccae7e3ee263a7ee6acde

abk

2016-11-18 14:33

developer   ~0060533

The warning was fixed.
Please integrate branch CR28103_1.

git

2016-12-07 11:31

administrator   ~0061295

Branch CR28103 has been deleted by kgv.

SHA-1: 8e1c97547f35aa92ce121d0c665daf3830ede9ea

git

2016-12-07 11:31

administrator   ~0061296

Branch CR28103_1 has been deleted by kgv.

SHA-1: 4d0b358696ac181e152ccae7e3ee263a7ee6acde

Related Changesets

occt: master d673da18

2016-11-14 15:08:44

abk


Committer: apn Details Diff
0028103: Foundation Classes - extend NCollection_Map to check whether two given maps are intersected

Mehtod HasIntersection added in NCollection_Map to check whether two given maps contain at least one same item.
'Draw' command and test to check the method were created.
Affected Issues
0028103
mod - src/NCollection/NCollection_Map.hxx Diff File
mod - src/QANCollection/QANCollection_Test.cxx Diff File
add - tests/collections/grids.list Diff File
add - tests/collections/n/begin Diff File
add - tests/collections/n/end Diff File
add - tests/collections/n/map Diff File

Issue History

Date Modified Username Field Change
2016-11-14 18:04 abk New Issue
2016-11-14 18:04 abk Assigned To => abv
2016-11-14 18:09 git Note Added: 0060317
2016-11-14 18:11 abk Note Added: 0060318
2016-11-14 18:11 abk Status new => resolved
2016-11-14 18:11 abk Steps to Reproduce Updated
2016-11-14 18:12 abk Assigned To abv => msv
2016-11-14 18:18 kgv Summary Extend type 'NCollection_Map' to check whether two given maps are intersected => Foundation Classes - extend NCollection_Map to check whether two given maps are intersected
2016-11-14 18:22 git Note Added: 0060319
2016-11-14 19:22 msv Note Added: 0060322
2016-11-14 19:22 msv Assigned To msv => bugmaster
2016-11-14 19:22 msv Status resolved => reviewed
2016-11-14 19:38 mkv Assigned To bugmaster => mkv
2016-11-15 15:51 mkv Note Added: 0060367
2016-11-15 15:51 git Note Added: 0060368
2016-11-15 15:52 mkv Note Added: 0060370
2016-11-15 15:52 mkv Assigned To mkv => bugmaster
2016-11-15 15:52 mkv Status reviewed => tested
2016-11-15 15:52 mkv Test case number => collections n map
2016-11-17 06:23 abv Note Added: 0060474
2016-11-17 11:07 msv Note Added: 0060480
2016-11-17 15:09 git Note Added: 0060497
2016-11-17 15:10 abv Note Added: 0060498
2016-11-18 14:16 apn Note Added: 0060528
2016-11-18 14:16 apn Assigned To bugmaster => abk
2016-11-18 14:16 apn Status tested => feedback
2016-11-18 14:30 git Note Added: 0060530
2016-11-18 14:32 abk Assigned To abk => apn
2016-11-18 14:33 abk Note Added: 0060533
2016-11-18 16:33 apn Assigned To apn => bugmaster
2016-11-18 16:33 apn Status feedback => tested
2016-11-18 16:37 apn Changeset attached => occt master d673da18
2016-11-18 16:37 apn Assigned To bugmaster => apn
2016-11-18 16:37 apn Status tested => verified
2016-11-18 16:37 apn Resolution open => fixed
2016-12-07 11:31 git Note Added: 0061295
2016-12-07 11:31 git Note Added: 0061296
2016-12-09 16:29 aiv Status verified => closed
2016-12-09 16:39 aiv Fixed in Version => 7.1.0