Archived issue #0027696

Return max distance in xdistcs Draw command

Open CASCADEOCCT:DRAWclosed9 public notes

Search issues

Description

Today xdistcs command prints distances calculated in the sample points to the output, and that is nice. However, it will be helpful to print also the max calculated distance. Max distance gives the user a hint on inaccuracy (in shape healing use cases).

Steps to reproduce

N/A

Public activity

9 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: aml
Date: Thu Sep 22 08:12:16 2016 +0300

    0027696: Return max distance in xdistcs Draw command
    
    Message about maximal distance is added for xdistcs command.
02Commenter 2
Dear msv,
Please check current state of the CR27696 branch.
03Commenter 3
Please return back output to "di" instead of "cout", because it allows redirecting output to a needed place (list, file).
04Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
05Commenter 5
"di" command usage is restored. "cout" are changed to "di" in this command. Please check updated version.
06Commenter 6
Reviewed.
07Commenter 7
Dear BugMaster,
Branch CR27696 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

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

products component :
Linux: 64 (64 on master)
Windows: 0 (0 on master)
MacOS : 1137

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 90826260 / 89854736 [+1.08%]
Total CPU difference: 19389.09999999994 / 19211.42999999994 [+0.92%]
products component :
Total MEMORY difference: 30032229 / 30009119 [+0.08%]
Total CPU difference: 5104.0299999999725 / 5121.159999999977 [-0.33%]

Testing on Windows:
occt component :
Total MEMORY difference: 57204468 / 57211877 [-0.01%]
Total CPU difference: 18158.68800109881 / 18509.12864749872 [-1.89%]
products component :
Total MEMORY difference: 21267630 / 21232183 [+0.17%]
Total CPU difference: 4828.901754299944 / 4959.0221883999575 [-2.62%]

There are no differences in images found by testdiff.
08Commenter 8
Dear BugMaster,
Branch CR27696 is TESTED.
09Commenter 2
Branch [archived branch] has been deleted by Commenter 1.

[revision removed]