7fd59977 |
1 | // File: BRepAlgoAPI_Common.cxx |
2 | // Created: Fri Oct 15 11:36:28 1993 |
3 | // Author: Remi LEQUETTE |
4 | // <rle@phylox> |
5 | |
6 | #include <BRepAlgoAPI_Common.ixx> |
7 | |
8 | #include <BRepAlgoAPI_BooleanOperation.hxx> |
9 | #include <BOP_Operation.hxx> |
10 | |
11 | //======================================================================= |
12 | //function : BRepAlgoAPI_Common |
13 | //purpose : |
14 | //======================================================================= |
15 | BRepAlgoAPI_Common::BRepAlgoAPI_Common(const TopoDS_Shape& S1, |
16 | const TopoDS_Shape& S2) |
17 | : BRepAlgoAPI_BooleanOperation(S1, S2, BOP_COMMON) |
18 | { |
19 | BRepAlgoAPI_BooleanOperation* pBO= |
20 | (BRepAlgoAPI_BooleanOperation*) (void*) this; |
21 | pBO->Build(); |
22 | } |
23 | //======================================================================= |
24 | //function : BRepAlgoAPI_Common |
25 | //purpose : |
26 | //======================================================================= |
27 | BRepAlgoAPI_Common::BRepAlgoAPI_Common(const TopoDS_Shape& S1, |
28 | const TopoDS_Shape& S2, |
29 | const BOPTools_DSFiller& aDSF) |
30 | : BRepAlgoAPI_BooleanOperation(S1, S2, aDSF, BOP_COMMON) |
31 | { |
32 | BRepAlgoAPI_BooleanOperation* pBO= |
33 | (BRepAlgoAPI_BooleanOperation*) (void*) this; |
34 | pBO->Build(); |
35 | } |
36 | |
37 | |
38 | |