0024624: Lost word in license statement in source files
[occt.git] / src / BRepMesh / BRepMesh_ShapeTool.cdl
CommitLineData
b311480e 1-- Created on: 1993-09-30
2-- Created by: Isabelle GRIGNON
3-- Copyright (c) 1993-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 ShapeTool from BRepMesh
18
19 ---Purpose:
20
21uses Shape from TopoDS,
22 Face from TopoDS,
23 Edge from TopoDS,
24 Vertex from TopoDS,
25 Explorer from TopExp,
26 Pnt2d from gp,
27 Pnt from gp,
28 Box from Bnd,
29 Curve from BRepAdaptor,
30 Orientation from TopAbs,
31 Triangulation from Poly,
32 HArray1OfInteger from TColStd
33
34raises NoSuchObject from Standard
35
36is
37 Create returns ShapeTool ;
38
39 Init(me : in out ; S : Shape from TopoDS)
40 ---C++: inline
41 is static;
42
43 MoreFace(me: in out ) returns Boolean from Standard
44 ---C++: inline
45 is static;
46
47 NextFace(me : in out)
48 ---C++: inline
49 is static;
50
51 CurrentFace( me : in out) returns Face from TopoDS
52 ---C++:return const &
53 ---C++: inline
54 is static;
55
56 Init(me : in out ; F: Face from TopoDS)
57 ---C++: inline
58 is static;
59
60 MoreEdge(me: in out ) returns Boolean from Standard
61 ---C++: inline
62 is static;
63
64 NextEdge(me : in out)
65 ---C++: inline
66 is static;
67
68 CurrentEdge(me : in out)
69 ---C++: return const &
70 ---C++: inline
71 returns Edge from TopoDS
72 is static;
73
74 Init(me : in out ; E : Edge from TopoDS)
75 ---C++: inline
76 is static;
77
78 MoreInternalVertex(me: in out ) returns Boolean from Standard
79
80 is static;
81
82 NextInternalVertex(me : in out)
83 ---C++: inline
84 is static;
85
86 CurrentInternalVertex( me : in out) returns Vertex from TopoDS
87 ---C++: return const &
88 ---C++: inline
89 is static;
90
91 Orientation(myclass; F :Face from TopoDS )
92 ---C++: inline
93 returns Orientation from TopAbs;
94
95 Orientation(myclass; E : Edge from TopoDS )
96 ---C++: inline
97 returns Orientation from TopAbs;
98
99 Bound(myclass; F :Face from TopoDS )
100 returns Box from Bnd;
101
102 Bound(myclass; E : Edge from TopoDS )
103 returns Box from Bnd;
104
105 FirstVertex(myclass; E : Edge from TopoDS )
106 returns Vertex from TopoDS
107 raises NoSuchObject;
108 --if there is not first vertex (semi-infinite edge)
109
110 LastVertex(myclass; E : Edge from TopoDS)
111 returns Vertex from TopoDS
112 raises NoSuchObject;
113 --if there is not last vertex (semi-infinite edge)
114
115 Vertices(myclass; E : Edge from TopoDS;
116 Vfirst, Vlast : out Vertex from TopoDS);
117 ---Purpose: If there is not First or Last vertex (infinite or
118 -- semi-infinite edge) return null shapes.
119
120 Range(myclass; E : Edge from TopoDS;
121 F : Face from TopoDS;
122 wFirst, wLast : in out Real from Standard);
123 ---C++: inline
124
125 UVPoints(myclass; E : Edge from TopoDS;
126 F : Face from TopoDS;
127 uvFirst, uvLast : out Pnt2d from gp);
128 ---C++: inline
129
130 Degenerated(myclass; E : Edge from TopoDS)
131 ---C++: inline
132 returns Boolean from Standard;
133
134 Tolerance(myclass; V : Vertex from TopoDS)
135 ---C++: inline
136 returns Real from Standard;
137
138 Parameter(myclass; V : Vertex from TopoDS;
139 E : Edge from TopoDS;
140 F : Face from TopoDS) returns Real from Standard;
141 ---C++: inline
142
143 Parameters (myclass;
144 E : Edge from TopoDS;
145 F : Face from TopoDS;
146 W : Real;
147 UV : out Pnt2d);
148
149 Locate (myclass;
150 C : Curve from BRepAdaptor;
151 W : in Real; WFound : in out Real;
152 p3d : Pnt from gp;
153 UV : out Pnt2d);
154
155 Pnt(myclass; V : Vertex from TopoDS)
156 ---C++: inline
157 returns Pnt from gp;
158
159
160 AddInFace(myclass;
161 F : Face from TopoDS;
162 T : in out Triangulation from Poly);
163
164
165
166
167fields
168
169 theFIterator : Explorer from TopExp;
170 theEIterator : Explorer from TopExp;
171 theVIterator : Explorer from TopExp;
172
173end ShapeTool;
174