0024624: Lost word in license statement in source files
[occt.git] / src / TopoDSToStep / TopoDSToStep_Tool.cdl
CommitLineData
b311480e 1-- Created on: 1994-11-30
2-- Created by: Frederic MAUPAS
3-- Copyright (c) 1994-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class Tool from TopoDSToStep
18
19 ---Purpose: This Tool Class provides Information to build
20 -- a ProSTEP Shape model from a Cas.Cad BRep.
21
22uses
23
24 Vertex from TopoDS,
25 Edge from TopoDS,
26 Wire from TopoDS,
27 Face from TopoDS,
28 Shell from TopoDS,
29 Shape from TopoDS,
30
31 DataMapOfShapeTransient from MoniTool,
32
33 TopologicalRepresentationItem from StepShape
34
35is
36
37-- -----------------------------------------------------------
38-- Constructor
39-- -----------------------------------------------------------
40
41 Create returns Tool from TopoDSToStep;
42
43 Create(M : DataMapOfShapeTransient from MoniTool;
44 FacetedContext : Boolean from Standard)
45 returns Tool from TopoDSToStep;
46
47 Init(me : in out;
48 M : DataMapOfShapeTransient from MoniTool;
49 FacetedContext : Boolean from Standard);
50
51-- -----------------------------------------------------------
52-- Fields update methods
53-- -----------------------------------------------------------
54
55
56 IsBound(me : in out;
57 S : Shape from TopoDS)
58 returns Boolean from Standard;
59
60 Bind(me : in out;
61 S : Shape from TopoDS;
62 T : TopologicalRepresentationItem from StepShape);
63
64 Find(me : in out;
65 S : Shape from TopoDS)
66 returns TopologicalRepresentationItem from StepShape;
67
68 Faceted(me) returns Boolean from Standard;
69
70 SetCurrentShell(me : in out;
71 S : Shell from TopoDS);
72
73 CurrentShell(me) returns Shell from TopoDS;
74 ---C++: return const &
75
76
77 SetCurrentFace(me : in out;
78 F : Face from TopoDS);
79
80 CurrentFace(me) returns Face from TopoDS;
81 ---C++: return const &
82
83
84 SetCurrentWire(me : in out;
85 W : Wire from TopoDS);
86
87 CurrentWire(me) returns Wire from TopoDS;
88 ---C++: return const &
89
90
91 SetCurrentEdge(me : in out;
92 E : Edge from TopoDS);
93
94 CurrentEdge(me) returns Edge from TopoDS;
95 ---C++: return const &
96
97
98 SetCurrentVertex(me : in out;
99 V : Vertex from TopoDS);
100
101 CurrentVertex(me) returns Vertex from TopoDS;
102 ---C++: return const &
103
104 Lowest3DTolerance(me) returns Real from Standard;
105
106 SetSurfaceReversed(me : in out;
107 B : Boolean from Standard);
108
109 SurfaceReversed(me) returns Boolean from Standard;
110
111 Map (me) returns DataMapOfShapeTransient from MoniTool;
112 ---C++: return const &
113
114 PCurveMode (me) returns Integer;
115 ---Purpose: Returns mode for writing pcurves
116 -- (initialized by parameter write.surfacecurve.mode)
117
118fields
119
120 myDataMap : DataMapOfShapeTransient from MoniTool;
121
122 myFacetedContext : Boolean from Standard;
123
124 myLowestTol : Real from Standard;
125
126 myCurrentShell : Shell from TopoDS;
127
128 myCurrentFace : Face from TopoDS;
129
130 myCurrentWire : Wire from TopoDS;
131
132 myCurrentEdge : Edge from TopoDS;
133
134 myCurrentVertex : Vertex from TopoDS;
135
136 myReversedSurface : Boolean from Standard;
137
138 myPCurveMode : Integer from Standard;
139
140end Tool;