summaryrefslogtreecommitdiff
path: root/src/BRepAlgoAPI/BRepAlgoAPI_Fuse.cxx
blob: ff83141363570423c2281fc3c5d55aab9285ac77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// File:	BRepAlgoAPI_Fuse.cxx
// Created:	Fri Oct 15 11:35:59 1993
// Author:	Remi LEQUETTE
//		<rle@phylox>

#include <BRepAlgoAPI_Fuse.ixx>

#include <BRepAlgoAPI_BooleanOperation.hxx>
#include <BOP_Operation.hxx>

//=======================================================================
//function : BRepAlgoAPI_Fuse
//purpose  : 
//=======================================================================
  BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(const TopoDS_Shape& S1, 
				     const TopoDS_Shape& S2)
: BRepAlgoAPI_BooleanOperation(S1, S2, BOP_FUSE)
{
  BRepAlgoAPI_BooleanOperation* pBO=
    (BRepAlgoAPI_BooleanOperation*) (void*) this;
  pBO->Build();
}

//=======================================================================
//function : BRepAlgoAPI_Fuse
//purpose  : 
//=======================================================================
  BRepAlgoAPI_Fuse::BRepAlgoAPI_Fuse(const TopoDS_Shape& S1, 
				     const TopoDS_Shape& S2,
				     const BOPTools_DSFiller& aDSF)
: BRepAlgoAPI_BooleanOperation(S1, S2, aDSF, BOP_FUSE)
{
  BRepAlgoAPI_BooleanOperation* pBO=
    (BRepAlgoAPI_BooleanOperation*) (void*) this;
  pBO->Build();
}