Archived issue #0029679

Draw Harness - Command 2dapprox works wrong when giving points in command line

CommunityOCCT:DRAWclosed7 public notes

Search issues

Description

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.

Steps to reproduce

2dapprox c 5 0 0 3 4 -1 4 -4 0 -4 -3

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 3
Duplicated file GeometryTest_API2dCommands.cxx has been removed by patch for #0030366.
02Commenter 4
Branch [archived branch] has been created by Participant.

[revision removed]


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_*.
03Commenter 3
04Commenter 4
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
05Commenter 5
Reviewed.
06Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
07Commenter 4
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records