MantisBT - Community
View Issue Details
0022324Community[OCCT] OCCT:Modeling Algorithmspublic2011-03-16 09:532012-03-29 17:26
szy 
bugmaster 
normaltrivial 
closedfixed 
All
 
[OCCT] 6.5.1 
0022324: Mistakes with parenthesis position in abs calls
http://www.opencascade.org/org/forum/thread_20187/. [^]
In various files there is an issue with parenthesis position in abs calls:
Adaptor3d_CurveOnSurface.cxx
Aspect_RectangularGrid.cxx
GeomFill_BoundWithSurf.cxx

Patch is attached.
"In various files there is an issue with parenthesis position in abs calls.The files are :

Adaptor3d_CurveOnSurface.cxx
if(Abs(Coord-Arr(i)>Tol)) Standard_NotImplemented::Raise("Adaptor3d_CurveOnSurface:Hunt");
should become
if(Abs(Coord-Arr(i))>Tol) Standard_NotImplemented::Raise("Adaptor3d_CurveOnSurface:Hunt");


Aspect_RectangularGrid.cxx
return Abs( Sin(alpha)*Cos(beta+Standard_PI/2.) - Cos(alpha)*Sin(beta+Standard_PI/2.) != 0) ;
should become
return (Abs( Sin(alpha)*Cos(beta+Standard_PI/2.) - Cos(alpha)*Sin(beta+Standard_PI/2.)) != 0) ;


GeomFill_BoundWithSurf.cxx
if(Abs(deno < 1.e-16)){
should become
if(Abs(deno) < 1.e-16){

Fotis"
No tags attached.
zip OCC22324.zip (11,859) 2011-03-16 10:52
https://tracker.dev.opencascade.org/
Issue History
2011-03-16 10:55bugmasterStatusclosed => assigned
2011-03-16 10:55bugmasterResolutionsuspended => @0@
2011-03-16 10:56bugmasterAssigned Tobugmaster => szy
2011-03-16 10:56bugmasterStatusassigned => resolved
2011-04-27 19:58mkvStatusresolved => tested
2011-04-28 19:02bugmasterStatustested => verified
2011-08-02 11:31bugmasterCategoryOCCT:MOA => OCCT:Modeling Algorithms
2011-11-24 16:55szyDescription Updatedbug_revision_view_page.php?rev_id=1029#r1029
2011-11-24 16:56szyNote Edited: 0017079bug_revision_view_page.php?bugnote_id=17079#r1031
2011-11-24 16:56szyNote Edited: 0017079bug_revision_view_page.php?bugnote_id=17079#r1032
2012-03-29 17:26bugmasterChangeset attached => occt master 82ac7cbb

Notes
(0017079)
ycy   
2011-04-27 15:41   
(edited on: 2011-11-24 16:56)
Dear BugMaster,
Workbench KAS:dev:OCC22324-v1-opt has been created from OCC22324.zip and
compiled on Linux platform.
There are following regressions(/differences) in OCC22324-v1-opt regarding to
KAS:dev:products-20110228-opt

Regressions were not found.

See results in /QADisk/occttests/results/KAS/dev/OCC22324-v1-opt_08042011/lin
See reference results in
/QADisk/occttests/results/KAS/dev/products-20110228-opt_03032011/lin
See test cases in /QADisk/occttests/tests/ED
N.B. In order to launch testing case you can make use the following instructions
http://sbu.nnov.opencascade.com/maintenance/main_certification_te.htm [^]