0023404: Create SquareConfusion function in Precision package for speed and convenience
authorabk <abk@opencascade.com>
Fri, 5 Oct 2012 09:55:16 +0000 (13:55 +0400)
committerabk <abk@opencascade.com>
Fri, 5 Oct 2012 09:55:16 +0000 (13:55 +0400)
commit08cd2f6bb195fffafa0e9273aeffef4d854bd5fd
tree87410374fad45b320c7c21ea711dcd17da91c822
parent852a895cdaffabfe53236fd056fda8b5e75e03f8
0023404: Create SquareConfusion function in Precision package for speed and convenience

SquareConfusion function was created in FoundationClasses module -> TKMath toolkit -> Precision package.
The function returns square of Precision::Confusion().
SquareConfusion function was corrected in FoundationClasses module -> TKMath toolkit -> Precision package.
Squares of Precision::Confusion() were replaced by Precision::SquareConfusion().
24 files changed:
src/AIS/AIS.cxx
src/BRepFeat/BRepFeat_MakeRevolutionForm.cxx
src/BRepLib/BRepLib_MakeEdge.cxx
src/BRepMesh/BRepMesh_FastDiscretFace.cxx
src/BRepOffset/BRepOffset_Tool.cxx
src/ChFi3d/ChFi3d_Builder_C1.cxx
src/Draft/Draft_Modification_1.cxx
src/DsgPrs/DsgPrs.cxx
src/DsgPrs/DsgPrs_EqualDistancePresentation.cxx
src/Extrema/Extrema_ExtPElC.cxx
src/Extrema/Extrema_ExtPRevS.cxx
src/GeomliteTest/GeomliteTest_SurfaceCommands.cxx
src/LocOpe/LocOpe_SplitDrafts.cxx
src/NIS/NIS_Surface.cxx
src/Poly/Poly.cxx
src/Precision/Precision.cdl
src/Precision/Precision.lxx
src/ShapeAnalysis/ShapeAnalysis_Curve.cxx
src/ShapeAnalysis/ShapeAnalysis_WireOrder.cxx
src/ShapeFix/ShapeFix_Wireframe.cxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/Voxel/Voxel_Writer.cxx
src/VrmlData/VrmlData_IndexedFaceSet.cxx
src/VrmlData/VrmlData_ShapeConvert.cxx