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 Line from Contap
22 LineOn2S from IntSurf,
24 TypeTrans from IntSurf,
28 IType from Contap, -- duplique IntPatch_IType. Mettre ds IntSurf
29 HVertex from Adaptor3d,
30 HCurve2d from Adaptor2d,
32 TheHSequenceOfPoint from Contap
34 raises DomainError from Standard,
35 OutOfRange from Standard
41 returns Line from Contap;
44 SetLineOn2S(me: in out; L: LineOn2S from IntSurf)
54 returns LineOn2S from IntSurf
59 ResetSeqOfVertex(me: in out)
63 Add(me: in out; P: PntOn2S from IntSurf)
68 SetValue(me: in out; L: Lin from gp)
73 SetValue(me: in out; C: Circ from gp)
78 SetValue(me: in out; A: HCurve2d from Adaptor2d)
83 Add(me: in out; P: Point from Contap)
90 returns Integer from Standard
96 Vertex(me; Index: Integer from Standard)
98 returns Point from Contap
102 raises OutOfRange from Standard
109 ---Purpose: Returns Contap_Lin for a line, Contap_Circle for
110 -- a circle, and Contap_Walking for a Walking line,
111 -- Contap_Restriction for a part of boundarie.
113 returns IType from Contap
121 returns Integer from Standard
124 raises DomainError from Standard
125 -- The exception DomainError is raised if TypeContour does not return
131 Point(me; Index: Integer from Standard)
133 returns PntOn2S from IntSurf
134 ---C++: return const&
137 raises DomainError from Standard,
138 OutOfRange from Standard
139 -- The exception DomainError is raised if TypeContour does not return
141 -- The exception OutOfRange is raised if Index<=0 or Index>NbPoints.
151 raises DomainError from Standard
152 -- The exception DomainError is raised if TypeContour does not return
163 raises DomainError from Standard
164 -- The exception DomainError is raised if TypeContour does not return
173 returns any HCurve2d from Adaptor2d
174 ---C++: return const&
176 raises DomainError from Standard
177 -- The exception DomainError is raised if TypeContour does not return
178 -- Contap_Restriction.
183 SetTransitionOnS(me: in out; T: TypeTrans from IntSurf)
185 ---Purpose: Set The Tansition of the line.
193 ---Purpose: returns IN if at the "left" of the line, the normale of the
194 -- surface is oriented to the observator.
197 returns TypeTrans from IntSurf
203 Trans : TypeTrans from IntSurf;
204 curv : LineOn2S from IntSurf;
205 svtx : TheHSequenceOfPoint from Contap;
206 thearc : HCurve2d from Adaptor2d;
207 typL : IType from Contap;
211 rad : Real from Standard;