DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0023404

Create SquareConfusion function in Precision package for speed and convenience

Open CASCADEOCCT:Foundation Classesclosed6 public notes

Search issues

Description

Create function SquareConfusion which returns square of Precision::Confusion() in FoundationClasses module -> TKMath toolkit -> Precision package.

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Commenter 1
The new method is named Confusion() in CDL, instead of SquareConfusion(); please fix. Also, I would expect that you replace squares of Precision::Confusion() by SquareConfusion() in OCCT code (you can easily find about 30 places)... without that the patch is almost meaningful
02Commenter 2
The new method name was corrected.
Squares of Precision::Confusion() were replaced by Precision::SquareConfusion().
03Commenter 3
No remarks, please test
04Commenter 4
Dear abv,
The branch CR23404 was rebased to the master.
Validate these modifications please.

05Commenter 5
Looks fine, please proceed
06Commenter 6
Dear Commenter 1,
Branch CR23404 (and products from GIT master) was compiled on Linux and Windows platforms and tested.

Regressions:
Not detected

Improvements:
Not detected

Testing cases:
Not needed