7fd59977 |
1 | // File: BOP_Loop.cxx |
2 | // Created: Tue Dec 19 19:52:32 1995 |
3 | // Author: Jean Yves LEBEY |
4 | // <jyl@meteox> |
5 | |
6 | #include <BOP_Loop.ixx> |
7 | |
8 | //======================================================================= |
9 | //function : BOP_Loop |
10 | //purpose : |
11 | //======================================================================= |
12 | BOP_Loop::BOP_Loop (const TopoDS_Shape& S) |
13 | : |
14 | myIsShape(Standard_True), |
15 | myShape(S), |
16 | myBlockIterator(0,0) |
17 | { |
18 | } |
19 | |
20 | //======================================================================= |
21 | //function : BOP_Loop |
22 | //purpose : |
23 | //======================================================================= |
24 | BOP_Loop::BOP_Loop (const BOP_BlockIterator& BI) |
25 | : |
26 | myIsShape(Standard_False), |
27 | myBlockIterator(BI) |
28 | { |
29 | } |
30 | |
31 | //======================================================================= |
32 | //function : IsShape |
33 | //purpose : |
34 | //======================================================================= |
35 | Standard_Boolean BOP_Loop::IsShape() const |
36 | { |
37 | return myIsShape; |
38 | } |
39 | |
40 | //======================================================================= |
41 | //function : Shape |
42 | //purpose : |
43 | //======================================================================= |
44 | const TopoDS_Shape& BOP_Loop::Shape() const |
45 | { |
46 | return myShape; |
47 | } |
48 | |
49 | //======================================================================= |
50 | //function : BlockIterator |
51 | //purpose : |
52 | //======================================================================= |
53 | const BOP_BlockIterator& BOP_Loop::BlockIterator() const |
54 | { |
55 | return myBlockIterator; |
56 | } |
57 | |
58 | |