blob: 7210d878b5bf2a2e9a02a775e8c36e379e3124b4 (
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
|
-- File: TopoDSToStep_Builder.cdl
-- Created: Fri Nov 25 08:31:25 1994
-- Author: Frederic MAUPAS
-- <fma@stylox>
---Copyright: Matra Datavision 1994
class Builder from TopoDSToStep
inherits Root from TopoDSToStep
---Purpose: This builder Class provides services to build
-- a ProSTEP Shape model from a Cas.Cad BRep.
uses
FinderProcess from Transfer,
Shape from TopoDS,
Tool from TopoDSToStep,
BuilderError from TopoDSToStep,
TopologicalRepresentationItem from StepShape
raises NotDone from StdFail
is
-- -----------------------------------------------------------
-- Constructor
-- -----------------------------------------------------------
Create returns Builder from TopoDSToStep;
Create(S : Shape from TopoDS;
T : in out Tool from TopoDSToStep;
FP : mutable FinderProcess from Transfer)
returns Builder from TopoDSToStep;
Init(me : in out;
S : Shape from TopoDS;
T : in out Tool from TopoDSToStep;
FP : mutable FinderProcess from Transfer);
-- -----------------------------------------------------------
-- Get the Result
-- -----------------------------------------------------------
Error(me) returns BuilderError from TopoDSToStep;
Value (me) returns TopologicalRepresentationItem from StepShape
raises NotDone
is static;
---C++: return const &
fields
myResult : TopologicalRepresentationItem from StepShape;
myError : BuilderError from TopoDSToStep;
end Builder;
|