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 class Contour from Contap
19 uses PathPoint from IntSurf,
20 PathPointTool from IntSurf,
21 SequenceOfPathPoint from IntSurf,
22 InteriorPoint from IntSurf,
23 InteriorPointTool from IntSurf,
24 SequenceOfInteriorPoint from IntSurf,
29 SurfFunction from Contap,
30 ArcFunction from Contap,
31 TheSequenceOfLine from Contap,
32 TheSearch from Contap,
33 TheSearchInside from Contap,
34 HSurface from Adaptor3d,
35 TopolTool from Adaptor3d
38 raises NotDone from StdFail,
39 OutOfRange from Standard,
40 ConstructionError from Standard
47 returns Contour from Contap;
50 Create(Direction: Vec from gp)
52 returns Contour from Contap;
55 Create(Direction: Vec from gp; Angle: Real from Standard)
57 returns Contour from Contap;
60 Create(Eye: Pnt from gp)
62 returns Contour from Contap;
65 Create(Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d;
66 Direction: Vec from gp)
68 ---Purpose: Creates the contour in a given direction.
70 returns Contour from Contap;
73 Create(Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d;
74 Direction: Vec from gp; Angle: Real from Standard)
76 ---Purpose: Creates the contour in a given direction.
78 returns Contour from Contap;
81 Create(Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d;
84 ---Purpose: Creates the contour for a perspective view.
86 returns Contour from Contap;
89 Perform(me: in out; Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d)
91 ---Purpose: Creates the contour in a given direction.
93 raises ConstructionError from Standard
97 Perform(me: in out; Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d;
98 Direction: Vec from gp)
100 ---Purpose: Creates the contour in a given direction.
105 Perform(me: in out; Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d;
106 Direction: Vec from gp; Angle: Real from Standard)
108 ---Purpose: Creates the contour in a given direction.
113 Perform(me: in out; Surf: HSurface from Adaptor3d; Domain: TopolTool from Adaptor3d;
116 ---Purpose: Creates the contour for a perspective view.
121 Init(me: in out; Direction: Vec from gp)
126 Init(me: in out; Direction: Vec from gp; Angle: Real from Standard)
131 Init(me: in out; Eye: Pnt from gp)
138 returns Boolean from Standard
146 ---Purpose: Returns true if the is no line.
148 returns Boolean from Standard
151 raises NotDone from StdFail
158 returns Integer from Standard
161 raises NotDone from StdFail
166 Line(me; Index: Integer from Standard)
168 returns Line from Contap
169 ---C++: return const&
172 raises NotDone from StdFail,
173 OutOfRange from Standard
178 SurfaceFunction(me : in out)
180 ---Purpose: Returns a reference on the internal
181 -- SurfaceFunction. This is used to compute tangents
188 Perform(me: in out; Domain: TopolTool from Adaptor3d)
193 PerformAna(me: in out; Domain: TopolTool from Adaptor3d)
200 done : Boolean from Standard;
201 slin : TheSequenceOfLine from Contap;
202 solrst : TheSearch from Contap;
203 solins : TheSearchInside from Contap;
204 mySFunc : SurfFunction from Contap;
205 myAFunc : ArcFunction from Contap;
206 modeset : Boolean from Standard;