Integration of OCCT 6.5.0 from SVN
[occt.git] / src / BRepAlgoAPI / BRepAlgoAPI_Fuse.cxx
1 // File:        BRepAlgoAPI_Fuse.cxx
2 // Created:     Fri Oct 15 11:35:59 1993
3 // Author:      Remi LEQUETTE
4 //              <rle@phylox>
5
6 #include <BRepAlgoAPI_Fuse.ixx>
7
8 #include <BRepAlgoAPI_BooleanOperation.hxx>
9 #include <BOP_Operation.hxx>
10
11 //=======================================================================
12 //function : BRepAlgoAPI_Fuse
13 //purpose  : 
14 //=======================================================================
15   BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(const TopoDS_Shape& S1, 
16                                      const TopoDS_Shape& S2)
17 : BRepAlgoAPI_BooleanOperation(S1, S2, BOP_FUSE)
18 {
19   BRepAlgoAPI_BooleanOperation* pBO=
20     (BRepAlgoAPI_BooleanOperation*) (void*) this;
21   pBO->Build();
22 }
23
24 //=======================================================================
25 //function : BRepAlgoAPI_Fuse
26 //purpose  : 
27 //=======================================================================
28   BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(const TopoDS_Shape& S1, 
29                                      const TopoDS_Shape& S2,
30                                      const BOPTools_DSFiller& aDSF)
31 : BRepAlgoAPI_BooleanOperation(S1, S2, aDSF, BOP_FUSE)
32 {
33   BRepAlgoAPI_BooleanOperation* pBO=
34     (BRepAlgoAPI_BooleanOperation*) (void*) this;
35   pBO->Build();
36 }