blob: 5753a028376fc6c16ae64ddfd90cb1f240b03207 (
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
|
-- File: BOP_Section.cdl
-- Created: Fri May 18 09:21:35 2001
-- Author: Peter KURNEV
-- <pkv@irinox>
---Copyright: Matra Datavision 2001
class Section from BOP inherits Builder from BOP
----Purpose: Performs the Boolean Operation (BO) Section
--- for the shapes
uses
DSFiller from BOPTools,
HistoryCollector from BOP
is
Create
returns Section from BOP;
---Purpose:
--- Empty constructor;
---
Do (me:out)
is redefined;
---Purpose:
--- Does the BO from the beggining to the end,
--- i.e. create new DataStructure, DSFiller,
--- compute all interferences, compute states,
--- build result etc
---
Do (me:out;toApprox : Boolean from Standard;
toComputePCurve1 : Boolean from Standard;
toComputePCurve2 : Boolean from Standard);
---Purpose:
--- Does the BO from the beggining to the end,
--- i.e. create new DataStructure, DSFiller,
--- compute all interferences, compute states,
--- build result etc
---
DoWithFiller (me:out;
aDSF: DSFiller from BOPTools)
is redefined;
---Purpose:
--- Does the BO using existing Filler to the end
---
Destroy (me: in out)
is redefined;
---C++: alias "Standard_EXPORT virtual ~BOP_Section(){Destroy();}"
---Purpose:
--- Destructor
---
SetHistoryCollector(me: in out; theHistory: HistoryCollector from BOP)
is redefined virtual;
--fields
end Section;
|