blob: 8ddfc78894567c7b1127bc9d40c20de24d72fc60 (
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
|
-- File: BOP_WireSplitter.cdl
-- Created: Mon Apr 9 10:50:36 2001
-- Author: Peter KURNEV
-- <pkv@irinox>
---Copyright: Matra Datavision 2001
class ShellSplitter from BOP
---Purpose:
--- the algorithm to split (multiconnexed)
--- shells on a solid onto biconnexed shells
--- when each edge is shared by only two or one
-- faces
uses
Shell from TopoDS,
ListOfShape from TopTools,
ListOfListOfShape from BOPTColStd,
EdgeInfo from BOP,
IndexedDataMapOfEdgeListFaceInfo from BOP
--raises
is
Create
returns ShellSplitter from BOP;
---Purpose:
--- Empty constructor;
---
DoWithListOfEdges(me:out;
aLE:ListOfShape from TopTools);
---Purpose:
--- Perform the algorithm using the list of shapes <aLE> as data
---
SetShell (me:out;
aShell:Shell from TopoDS);
---Purpose:
--- Modifier
---
Shell (me)
returns Shell from TopoDS;
---C++: return const &
---Purpose:
--- Selector
---
DoWithShell (me:out);
---Purpose:
--- Perform the algorithm using the shell as data
---
Do (me:out)
is private;
---Purpose:
--- Perform the algorithm
---
IsNothingToDo (me)
returns Boolean from Standard;
---Purpose:
--- Returns TRUE if the source shell is valid and
--- there is nothing to correct
---
IsDone (me)
returns Boolean from Standard;
---Purpose:
--- Returns TRUE if the algorithm was performed
--- successfuly
---
Shapes (me)
returns ListOfListOfShape from BOPTColStd;
---C++: return const &
---Purpose:
--- Selector
---
fields
myShell : Shell from TopoDS;
myIsDone : Boolean from Standard;
myNothingToDo: Boolean from Standard;
myShapes : ListOfListOfShape from BOPTColStd;
mySmartMap : IndexedDataMapOfEdgeListFaceInfo from BOP;
myFaces : ListOfShape from TopTools;
end ShellSplitter;
|