Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / [Patch] Fixes in various abs calls

[Patch] Fixes in various abs calls

[Patch] Fixes in various abs calls
Fotis Sioutis 2011/03/15 18:33
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
P Dolbey 2011/03/15 18:55
OCC650PATCH
sergey zaritchny 2011/03/16 07:58
Hi Fotis,

Thanks for your contribution.
The corresponding issue with ID = OCC22324 has been registered.
Later you can know if the patch is integrated by checking references to the specified ID in OCCT Release Notes.

Regards
Timo 2011/09/08 11:43
Was corrected in OCC 6.5.1
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map