1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0027182: Wrong result of General Fuse operation for two spheres

1. The static method Standard_Real MinStep3D(...) in the class BOPTools_AlgoTools is
now checks if the computed 3D step is too big (relatively UV range of the faces)
for any of the faces.

2. The method PointInFace(...) of the class BOPTools_AlgoTools3D has been redesigned.
The new PointInFace(...) methods have been implemented to add possibility for looking the point
inside the face in necessary direction and distance from the edge of the face.
Note: old implementation is also functional.

3. Make methods for finding points near edges and computing normal directions on faces
return error status (0 in case of success).

4. Test case for the issue.

5. Test cases offset shape_type_i_c XJ2,XJ4,XJ5,XJ6 are improvements.

Removing useless file
This commit is contained in:
emv
2016-03-21 13:14:20 +03:00
committed by bugmaster
parent 8ce97bc90b
commit 18c066908f
10 changed files with 550 additions and 314 deletions

View File

@@ -1,41 +0,0 @@
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
//function : FixShellTool
//purpose :
//=======================================================================
inline Handle(ShapeFix_Shell) ShapeFix_Solid::FixShellTool() const
{
return myFixShell;
}
//=======================================================================
//function : FixShellMode
//purpose :
//=======================================================================
inline Standard_Integer& ShapeFix_Solid::FixShellMode()
{
return myFixShellMode;
}
//=======================================================================
//function : CreateOpenSolidMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeFix_Solid::CreateOpenSolidMode()
{
return myCreateOpenSolidMode;
}