blob: 35d804db7a63f74b944324b98fdf39d4d8142752 (
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
105
106
107
108
109
110
111
112
113
114
|
-- File: TNaming_TranslateTool.cdl
-- Created: Thu Jun 24 16:46:18 1999
-- Author: Sergey ZARITCHNY
-- <szy@philipox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 1999
class TranslateTool from TNaming inherits TShared from MMgt
---Purpose: The TranslateTool class is provided to support the
-- translation of topological data structures Transient
-- . to Transient.
uses
Shape from TopoDS,
IndexedDataMapOfTransientTransient from TColStd
raises
TypeMismatch from Standard
is
Add(me;
S1 : in out Shape from TopoDS;
S2 : Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
--
-- The Make methods should create a new empty object of the
-- given type with the given Model. They should raise the
-- TypeMismatch exception if the Model is not of the
-- expected type.
--
MakeVertex(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeEdge(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeWire(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeFace(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeShell(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeSolid(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeCompSolid(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
MakeCompound(me;
S : out Shape from TopoDS)
---Level: Internal
raises
TypeMismatch from Standard;
--
-- The Update methods should transfer the data from the first
-- shape to the second.
--
UpdateVertex(me;
S1 : Shape from TopoDS;
S2 : in out Shape from TopoDS;
M : in out IndexedDataMapOfTransientTransient from TColStd);
---Level: Internal
UpdateEdge (me;
S1 : Shape from TopoDS;
S2 : in out Shape from TopoDS;
M : in out IndexedDataMapOfTransientTransient from TColStd);
---Level: Internal
UpdateFace (me;
S1 : Shape from TopoDS;
S2 : in out Shape from TopoDS;
M : in out IndexedDataMapOfTransientTransient from TColStd);
---Level: Internal
UpdateShape (me;
S1 : Shape from TopoDS;
S2 : in out Shape from TopoDS);
---Level: Internal
end TranslateTool;
|