1 -- Created on: 1993-02-05
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
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
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.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 generic class ContourGen from Contap
22 TheSurfaceTool as any;
23 TheContTool as any; -- as ContTool from Contap(TheVertex,TheArc,
25 TheTopolTool as Transient)
28 uses PathPoint from IntSurf,
29 PathPointTool from IntSurf,
30 SequenceOfPathPoint from IntSurf,
31 InteriorPoint from IntSurf,
32 InteriorPointTool from IntSurf,
33 SequenceOfInteriorPoint from IntSurf,
38 raises NotDone from StdFail,
39 OutOfRange from Standard,
40 ConstructionError from Standard
42 class ThePoint instantiates Point from Contap
46 class TheSequenceOfPoint instantiates Sequence from TCollection
49 class TheHSequenceOfPoint instantiates HSequence from TCollection
50 (ThePoint,TheSequenceOfPoint);
53 class TheLine instantiates Line from Contap
60 class TheSequenceOfLine instantiates Sequence from TCollection
64 class TheSurfProps instantiates SurfProps from Contap
69 class TheSurfFunction instantiates SurfFunction from Contap
72 TheSurfProps from Contap,
75 class TheArcFunction instantiates ArcFunction from Contap
80 TheSurfProps from Contap,
84 class TheSearch instantiates SearchOnBoundaries from IntStart
90 TheArcFunction from Contap);
93 class TheIWalking instantiates IWalking from IntWalk
94 (PathPoint from IntSurf,
95 PathPointTool from IntSurf,
96 SequenceOfPathPoint from IntSurf,
97 InteriorPoint from IntSurf,
98 InteriorPointTool from IntSurf,
99 SequenceOfInteriorPoint from IntSurf,
102 TheSurfFunction from Contap);
105 class TheSearchInside instantiates SearchInside from IntStart
110 TheSurfFunction from Contap);
116 returns ContourGen from Contap;
119 Create(Direction: Vec from gp)
121 returns ContourGen from Contap;
124 Create(Direction: Vec from gp; Angle: Real from Standard)
126 returns ContourGen from Contap;
129 Create(Eye: Pnt from gp)
131 returns ContourGen from Contap;
134 Create(Surf: TheSurface; Domain: TheTopolTool;
135 Direction: Vec from gp)
137 ---Purpose: Creates the contour in a given direction.
139 returns ContourGen from Contap;
142 Create(Surf: TheSurface; Domain: TheTopolTool;
143 Direction: Vec from gp; Angle: Real from Standard)
145 ---Purpose: Creates the contour in a given direction.
147 returns ContourGen from Contap;
150 Create(Surf: TheSurface; Domain: TheTopolTool;
153 ---Purpose: Creates the contour for a perspective view.
155 returns ContourGen from Contap;
158 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool)
160 ---Purpose: Creates the contour in a given direction.
162 raises ConstructionError from Standard
166 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
167 Direction: Vec from gp)
169 ---Purpose: Creates the contour in a given direction.
174 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
175 Direction: Vec from gp; Angle: Real from Standard)
177 ---Purpose: Creates the contour in a given direction.
182 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
185 ---Purpose: Creates the contour for a perspective view.
190 Init(me: in out; Direction: Vec from gp)
195 Init(me: in out; Direction: Vec from gp; Angle: Real from Standard)
200 Init(me: in out; Eye: Pnt from gp)
207 returns Boolean from Standard
215 ---Purpose: Returns true if the is no line.
217 returns Boolean from Standard
220 raises NotDone from StdFail
227 returns Integer from Standard
230 raises NotDone from StdFail
235 Line(me; Index: Integer from Standard)
237 returns TheLine from Contap
238 ---C++: return const&
241 raises NotDone from StdFail,
242 OutOfRange from Standard
247 SurfaceFunction(me : in out)
248 returns TheSurfFunction
249 ---Purpose: Returns a reference on the internal
250 -- SurfaceFunction. This is used to compute tangents
257 Perform(me: in out; Domain: TheTopolTool)
262 PerformAna(me: in out; Domain: TheTopolTool)
269 done : Boolean from Standard;
270 slin : TheSequenceOfLine from Contap;
271 solrst : TheSearch from Contap;
272 solins : TheSearchInside from Contap;
273 mySFunc : TheSurfFunction from Contap;
274 myAFunc : TheArcFunction from Contap;
275 modeset : Boolean from Standard;