blob: 7e3762d6be8cd8ed43e1e752ed0470462cfe37a7 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
-- File: BRepAlgo_BooleanOperation.cdl
-- Created: Thu Oct 14 18:14:43 1993
-- Author: Remi LEQUETTE
-- <rle@phylox>
---Copyright: Matra Datavision 1993
deferred class BooleanOperation from BRepAlgo inherits MakeShape from BRepBuilderAPI
---Purpose: The abstract class BooleanOperation is the root
-- class of Boolean operations.
-- A BooleanOperation object stores the two shapes in
-- preparation for the Boolean operation specified in
-- one of the classes inheriting from this one. These include:
-- - Common
-- - Cut
-- - Fuse
-- - Section.
uses
State from TopAbs,
Shape from TopoDS,
Face from TopoDS,
Edge from TopoDS,
MapOfShape from TopTools,
DataMapOfShapeShape from TopTools,
ListOfShape from TopTools,
HBuilder from TopOpeBRepBuild,
ShapeModification from BRepBuilderAPI
is
Initialize (S1,S2 : Shape from TopoDS);
---Purpose: Prepares the operations for S1 and S2.
--modified by NIZNHY-PKV Sun Dec 15 17:16:48 2002 f
Delete(me: out)
is redefined virtual;
---C++: alias "Standard_EXPORT virtual ~BRepAlgo_BooleanOperation() {Delete();}"
--modified by NIZNHY-PKV Sun Dec 15 17:16:51 2002 t
PerformDS(me : in out)
---Purpose:
---Level: Public
is static;
Perform(me : in out; St1,St2 : State from TopAbs)
---Level: Public
is static;
Builder(me) returns HBuilder from TopOpeBRepBuild
---Level: Advanced
is static;
Shape1(me) returns Shape from TopoDS
---Purpose: Returns the first shape involved in this Boolean operation.
---C++: return const &
---Level: Public
is static;
Shape2(me) returns Shape from TopoDS
---Purpose: Returns the second shape involved in this Boolean operation.
---C++: return const &
---Level: Public
is static;
BuilderCanWork(me : in out; B : Boolean from Standard)
is protected;
BuilderCanWork(me) returns Boolean from Standard
is protected;
InitParameters(me : out)
---Purpose:
---Level: Private
is virtual protected;
---Category: Querying
Modified (me: in out; S : Shape from TopoDS)
---Purpose: Returns the list of shapes modified from the shape
-- <S>.
---C++: return const &
---Level: Public
returns ListOfShape from TopTools
is redefined virtual;
IsDeleted (me: in out; S : Shape from TopoDS)
returns Boolean
is redefined virtual;
fields
myHBuilder : HBuilder from TopOpeBRepBuild is protected;
myS1 : Shape from TopoDS is protected;
myS2 : Shape from TopoDS is protected;
myMap : MapOfShape from TopTools;
myBuilderCanWork : Boolean from Standard;
topToSew : DataMapOfShapeShape from TopTools;
end BooleanOperation;
|