1 -- Created on: 1993-02-05
2 -- Created by: Jacques GOUSSARD
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
22 generic class ContourGen from Contap
26 TheArcTool as any; -- as ArcTool from Contap(TheArc)
27 TheSurfaceTool as any; -- as SurfaceTool from Contap(TheSurface)
28 TheContTool as any; -- as ContTool from Contap(TheVertex,TheArc,
30 TheTopolTool as Transient)-- as TopolTool from IntStart(TheVertex,
36 uses PathPoint from IntSurf,
37 PathPointTool from IntSurf,
38 SequenceOfPathPoint from IntSurf,
39 InteriorPoint from IntSurf,
40 InteriorPointTool from IntSurf,
41 SequenceOfInteriorPoint from IntSurf,
46 raises NotDone from StdFail,
47 OutOfRange from Standard,
48 ConstructionError from Standard
50 class ThePoint instantiates Point from Contap
54 class TheSequenceOfPoint instantiates Sequence from TCollection
57 class TheHSequenceOfPoint instantiates HSequence from TCollection
58 (ThePoint,TheSequenceOfPoint);
61 class TheLine instantiates Line from Contap
68 class TheSequenceOfLine instantiates Sequence from TCollection
72 class TheSurfProps instantiates SurfProps from Contap
77 class TheSurfFunction instantiates SurfFunction from Contap
80 TheSurfProps from Contap,
83 class TheArcFunction instantiates ArcFunction from Contap
88 TheSurfProps from Contap,
92 class TheSearch instantiates SearchOnBoundaries from IntStart
98 TheArcFunction from Contap);
101 class TheIWalking instantiates IWalking from IntWalk
102 (PathPoint from IntSurf,
103 PathPointTool from IntSurf,
104 SequenceOfPathPoint from IntSurf,
105 InteriorPoint from IntSurf,
106 InteriorPointTool from IntSurf,
107 SequenceOfInteriorPoint from IntSurf,
110 TheSurfFunction from Contap);
113 class TheSearchInside instantiates SearchInside from IntStart
118 TheSurfFunction from Contap);
124 returns ContourGen from Contap;
127 Create(Direction: Vec from gp)
129 returns ContourGen from Contap;
132 Create(Direction: Vec from gp; Angle: Real from Standard)
134 returns ContourGen from Contap;
137 Create(Eye: Pnt from gp)
139 returns ContourGen from Contap;
142 Create(Surf: TheSurface; Domain: TheTopolTool;
143 Direction: Vec from gp)
145 ---Purpose: Creates the contour in a given direction.
147 returns ContourGen from Contap;
150 Create(Surf: TheSurface; Domain: TheTopolTool;
151 Direction: Vec from gp; Angle: Real from Standard)
153 ---Purpose: Creates the contour in a given direction.
155 returns ContourGen from Contap;
158 Create(Surf: TheSurface; Domain: TheTopolTool;
161 ---Purpose: Creates the contour for a perspective view.
163 returns ContourGen from Contap;
166 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool)
168 ---Purpose: Creates the contour in a given direction.
170 raises ConstructionError from Standard
174 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
175 Direction: Vec from gp)
177 ---Purpose: Creates the contour in a given direction.
182 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
183 Direction: Vec from gp; Angle: Real from Standard)
185 ---Purpose: Creates the contour in a given direction.
190 Perform(me: in out; Surf: TheSurface; Domain: TheTopolTool;
193 ---Purpose: Creates the contour for a perspective view.
198 Init(me: in out; Direction: Vec from gp)
203 Init(me: in out; Direction: Vec from gp; Angle: Real from Standard)
208 Init(me: in out; Eye: Pnt from gp)
215 returns Boolean from Standard
223 ---Purpose: Returns true if the is no line.
225 returns Boolean from Standard
228 raises NotDone from StdFail
235 returns Integer from Standard
238 raises NotDone from StdFail
243 Line(me; Index: Integer from Standard)
245 returns TheLine from Contap
246 ---C++: return const&
249 raises NotDone from StdFail,
250 OutOfRange from Standard
255 SurfaceFunction(me : in out)
256 returns TheSurfFunction
257 ---Purpose: Returns a reference on the internal
258 -- SurfaceFunction. This is used to compute tangents
265 Perform(me: in out; Domain: TheTopolTool)
270 PerformAna(me: in out; Domain: TheTopolTool)
277 done : Boolean from Standard;
278 slin : TheSequenceOfLine from Contap;
279 solrst : TheSearch from Contap;
280 solins : TheSearchInside from Contap;
281 mySFunc : TheSurfFunction from Contap;
282 myAFunc : TheArcFunction from Contap;
283 modeset : Boolean from Standard;