MantisBT - Community
View Issue Details
0029679Community[OCCT] OCCT:DRAWpublic2018-04-08 06:192019-07-08 12:58
zale_lzj 
apn 
normalminor 
verifiedfixed 
WindowsVC++ 201232bit
[OCCT] 7.2.0 
[OCCT] 7.4.0* 
lowalgos 2dapprox bug29679_1, bug29679_2
0029679: Draw Harness - Command 2dapprox works wrong when giving points in command line
If use command like this, "2dapprox c 5 0 0 3 4 -1 4 -4 0 -4 -3", It won't be identified as have input of points. (the variable hasPoints keep false when the condition of nc == 2*Nb).
In the result the command raises exception.
2dapprox c 5 0 0 3 4 -1 4 -4 0 -4 -3
No tags attached.
related to 0030366verified bugmaster Open CASCADE Coding Rules - GeometryTest_API2dCommands.cxx seems to be excess 
Issue History
2018-04-08 06:19zale_lzjNew Issue
2018-04-08 06:19zale_lzjAssigned To => apn
2019-03-02 22:47kgvRelationship addedduplicate of 0030366
2019-03-02 22:49kgvNote Added: 0082534
2019-03-02 22:49kgvAssigned Toapn => msv
2019-06-21 19:03msvSummaryRepeated registration commands(2dapprox), and will wrong when 2dapprox result nbpoint x1 y1 x2 y2 ... => Command 2dapprox works wrong when giving points in command line
2019-06-21 19:03msvDescription Updatedbug_revision_view_page.php?rev_id=21411#r21411
2019-06-21 19:04msvRelationship deleted0030366
2019-06-21 19:04msvRelationship addedrelated to 0030366
2019-06-21 19:04msvStatusnew => assigned
2019-06-21 19:04msvTarget Version => 7.4.0*
2019-06-21 19:05msvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21413#r21413
2019-06-21 20:37gitNote Added: 0085211
2019-06-21 20:40msvNote Added: 0085212
2019-06-21 20:40msvAssigned Tomsv => emv
2019-06-21 20:40msvStatusassigned => resolved
2019-06-21 20:51gitNote Added: 0085213
2019-06-21 23:37kgvSummaryCommand 2dapprox works wrong when giving points in command line => Draw Harness - Command 2dapprox works wrong when giving points in command line
2019-06-24 11:12emvNote Added: 0085244
2019-06-24 11:12emvAssigned Toemv => bugmaster
2019-06-24 11:12emvStatusresolved => reviewed
2019-06-24 12:11apnTest case number => lowalgos 2dapprox bug29679_1, bug29679_2
2019-06-24 12:13apnNote Added: 0085251
2019-06-24 12:13apnStatusreviewed => tested
2019-07-01 17:28apnChangeset attached => occt master 64a44752
2019-07-01 17:28apnAssigned Tobugmaster => apn
2019-07-01 17:28apnStatustested => verified
2019-07-01 17:28apnResolutionopen => fixed
2019-07-08 12:58gitNote Added: 0085482

Notes
(0082534)
kgv   
2019-03-02 22:49   
Duplicated file GeometryTest_API2dCommands.cxx has been removed by patch for 0030366.
(0085211)
git   
2019-06-21 20:37   
Branch CR29679 has been created by msv.

SHA-1: 8fd46ee6dd5de0d2dcdec7d4bb5604fa5b460c21


Detailed log of new commits:

Author: msv
Date: Fri Jun 21 20:35:30 2019 +0300

    0029679: Command 2dapprox works wrong when giving points in command line
    
    Correct the behavior of the command 2dapprox for the case of points input in the command line.
    Restore the work of the command 2dinterpole (implemented in the same method as 2dapprox).
    Add test cases.
    Correct generation of snapshots for the tests lowalgos/2dinter/bug4426_*.
(0085212)
msv   
2019-06-21 20:40   
Please review the patch.
Test results are http://jenkins-test-12.nnov.opencascade.com/view/CR29679-master-MSV/view/COMPARE/ [^]
(0085213)
git   
2019-06-21 20:51   
Branch CR29679 has been updated forcibly by msv.

SHA-1: 0e41b11832218836311249271536b94872fd5e52
(0085244)
emv   
2019-06-24 11:12   
Reviewed.
(0085251)
apn   
2019-06-24 12:13   
Combination -
OCCT branch : CR29679
master SHA - 0e41b11832218836311249271536b94872fd5e52
d67d4b811012eef8913d3c535c29654d0acf3c4c
Products branch : master SHA - c08b242c9da615bfdf83ca463321740d4cc22898
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:
Debian80-64:
OCCT
Total CPU difference: 16193.860000000062 / 16165.540000000055 [+0.18%]
Products
Total CPU difference: 10490.580000000042 / 10470.440000000042 [+0.19%]
Windows-64-VC14:
OCCT
Total CPU difference: 17619.859375 / 17617.546875 [+0.01%]
Products
Total CPU difference: 12125.453125 / 12111.125 [+0.12%]

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0085482)
git   
2019-07-08 12:58   
Branch CR29679 has been deleted by inv.

SHA-1: 0e41b11832218836311249271536b94872fd5e52