]> 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>
Wed, 28 Oct 2015 09:05:26 +0000 (12:05 +0300)
commitdee6ccf66c36b4b419aa0a5cf4b433efb16f2305
treef6ae2dafb66ee5b843ef6d33dddb33e343e20033
parentedee964bae5f7e1c10840d20ae5430ead7cc5f34
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