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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
-- File: StepToTopoDS_Tool.cdl
-- Created: Fri Dec 16 14:50:53 1994
-- Author: Frederic MAUPAS
-- <fma@stylox>
---Copyright: Matra Datavision 1994
class Tool from StepToTopoDS
---Purpose: This Tool Class provides Information to build
-- a Cas.Cad BRep from a ProSTEP Shape model.
uses
DataMapOfTRI from StepToTopoDS,
PointPair from StepToTopoDS,
PointVertexMap from StepToTopoDS,
PointEdgeMap from StepToTopoDS,
TopologicalRepresentationItem from StepShape,
CartesianPoint from StepGeom,
Edge from TopoDS,
Vertex from TopoDS,
Shape from TopoDS,
Curve from Geom2d,
Curve from Geom,
Surface from Geom,
TransientProcess from Transfer
is
Create returns Tool from StepToTopoDS;
Create(Map : DataMapOfTRI from StepToTopoDS;
TP : TransientProcess from Transfer)
returns Tool from StepToTopoDS;
Init(me : in out;
Map : DataMapOfTRI from StepToTopoDS;
TP : TransientProcess from Transfer);
IsBound(me : in out;
TRI : TopologicalRepresentationItem from StepShape)
returns Boolean from Standard;
Bind(me : in out;
TRI : TopologicalRepresentationItem from StepShape;
S : Shape from TopoDS);
Find(me : in out;
TRI : TopologicalRepresentationItem from StepShape)
returns Shape from TopoDS;
---C++: return const &
ClearEdgeMap(me : in out);
IsEdgeBound(me : in out;
PP : PointPair from StepToTopoDS)
returns Boolean from Standard;
BindEdge(me : in out;
PP : PointPair from StepToTopoDS;
E : Edge from TopoDS);
FindEdge(me : in out;
PP : PointPair from StepToTopoDS)
returns Edge from TopoDS;
---C++: return const &
ClearVertexMap(me : in out);
IsVertexBound(me : in out;
PG : CartesianPoint from StepGeom)
returns Boolean from Standard;
BindVertex(me : in out;
P : CartesianPoint from StepGeom;
V : Vertex from TopoDS);
FindVertex(me : in out;
P : CartesianPoint from StepGeom)
returns Vertex from TopoDS;
---C++: return const &
ComputePCurve(me : in out;
B : Boolean from Standard);
ComputePCurve(me) returns Boolean from Standard;
TransientProcess(me) returns TransientProcess from Transfer;
-- Statistics
AddContinuity (me : in out; GeomSurf : Surface from Geom);
AddContinuity (me : in out; GeomCurve : Curve from Geom);
AddContinuity (me : in out; GeomCur2d : Curve from Geom2d);
C0Surf(me) returns Integer from Standard;
C1Surf(me) returns Integer from Standard;
C2Surf(me) returns Integer from Standard;
C0Cur2(me) returns Integer from Standard;
C1Cur2(me) returns Integer from Standard;
C2Cur2(me) returns Integer from Standard;
C0Cur3(me) returns Integer from Standard;
C1Cur3(me) returns Integer from Standard;
C2Cur3(me) returns Integer from Standard;
fields
myDataMap : DataMapOfTRI from StepToTopoDS;
myVertexMap : PointVertexMap from StepToTopoDS;
myEdgeMap : PointEdgeMap from StepToTopoDS;
myComputePC : Boolean from Standard;
myTransProc : TransientProcess from Transfer;
-- Statistics :
-- Surface continuity
myNbC0Surf : Integer from Standard;
myNbC1Surf : Integer from Standard;
myNbC2Surf : Integer from Standard;
-- Curve2d continuity
myNbC0Cur2 : Integer from Standard;
myNbC1Cur2 : Integer from Standard;
myNbC2Cur2 : Integer from Standard;
-- Curve3d continuity
myNbC0Cur3 : Integer from Standard;
myNbC1Cur3 : Integer from Standard;
myNbC2Cur3 : Integer from Standard;
end Tool;
|