]> OCCT Git - occt-copy.git/commit
1) The option to remove INTERNAL edges from the faces of the result of Offset operati...
authormsv <msv@opencascade.com>
Wed, 28 Oct 2015 09:05:26 +0000 (12:05 +0300)
committermsv <msv@opencascade.com>
Fri, 22 Apr 2016 12:48:04 +0000 (15:48 +0300)
commit08cf45f725a9b3febd28615ddc7b1757f318a4cd
tree95c5d365449d637d9df0e90c8a7d79395db803f4
parent9020ca3fbf2c6cdbbff102034f65159e9d82eb43
1) The option to remove INTERNAL edges from the faces of the result of Offset operation has been added into Offset API.
By default these edges will be kept in the result.
To remove these edges make sure to set the corresponding flag to TRUE when initializing the Offset algo.

void BRepOffset_MakeOffset::Initialize(const TopoDS_Shape&    S,
                                       const Standard_Real    Offset,
                                       const Standard_Real    Tol,
                                       const BRepOffset_Mode  Mode,
                                       const Standard_Boolean Inter,
                                       const Standard_Boolean SelfInter,
                                       const GeomAbs_JoinType Join,
                                       const Standard_Boolean RemoveIntEdges,
                                       const Standard_Boolean Thickening)

2) Due to the small inaccuracy of the calculation of the bi-normal direction (direction inside the face on the edge) the criterion on the coincidence of these directions has been weakened.

3) Make the possibility to produce empty result in case of any invalidity (spikes, self-intersections, faces inversion) optional.
src/BRepOffset/BRepOffset_MakeOffset.cdl
src/BRepOffset/BRepOffset_MakeOffset.cxx
src/BRepOffsetAPI/BRepOffsetAPI_MakeOffsetShape.cdl
src/BRepOffsetAPI/BRepOffsetAPI_MakeOffsetShape.cxx
src/BRepOffsetAPI/BRepOffsetAPI_MakeThickSolid.cdl
src/BRepOffsetAPI/BRepOffsetAPI_MakeThickSolid.cxx
src/BRepTest/BRepTest_FeatureCommands.cxx