1 -- File: Contap_Line.cdl
2 -- Created: Fri Feb 5 12:13:00 1993
3 -- Author: Jacques GOUSSARD
4 ---Copyright: Matra Datavision 1993
6 generic class Line from Contap
9 ThePoint as any; --as Point from Contap(TheVertex,TheArc)
10 TheHSequenceOfPoint as Transient) --as HSequence from TCollection
16 LineOn2S from IntSurf,
18 TypeTrans from IntSurf,
22 IType from Contap -- duplique IntPatch_IType. Mettre ds IntSurf
24 raises DomainError from Standard,
25 OutOfRange from Standard
31 returns Line from Contap;
34 SetLineOn2S(me: in out; L: LineOn2S from IntSurf)
44 returns LineOn2S from IntSurf
49 ResetSeqOfVertex(me: in out)
53 Add(me: in out; P: PntOn2S from IntSurf)
58 SetValue(me: in out; L: Lin from gp)
63 SetValue(me: in out; C: Circ from gp)
68 SetValue(me: in out; A: TheArc)
73 Add(me: in out; P: ThePoint)
80 returns Integer from Standard
86 Vertex(me; Index: Integer from Standard)
92 raises OutOfRange from Standard
99 ---Purpose: Returns Contap_Lin for a line, Contap_Circle for
100 -- a circle, and Contap_Walking for a Walking line,
101 -- Contap_Restriction for a part of boundarie.
103 returns IType from Contap
111 returns Integer from Standard
114 raises DomainError from Standard
115 -- The exception DomainError is raised if TypeContour does not return
121 Point(me; Index: Integer from Standard)
123 returns PntOn2S from IntSurf
124 ---C++: return const&
127 raises DomainError from Standard,
128 OutOfRange from Standard
129 -- The exception DomainError is raised if TypeContour does not return
131 -- The exception OutOfRange is raised if Index<=0 or Index>NbPoints.
141 raises DomainError from Standard
142 -- The exception DomainError is raised if TypeContour does not return
153 raises DomainError from Standard
154 -- The exception DomainError is raised if TypeContour does not return
164 ---C++: return const&
166 raises DomainError from Standard
167 -- The exception DomainError is raised if TypeContour does not return
168 -- Contap_Restriction.
173 SetTransitionOnS(me: in out; T: TypeTrans from IntSurf)
175 ---Purpose: Set The Tansition of the line.
183 ---Purpose: returns IN if at the "left" of the line, the normale of the
184 -- surface is oriented to the observator.
187 returns TypeTrans from IntSurf
193 Trans : TypeTrans from IntSurf;
194 curv : LineOn2S from IntSurf;
195 svtx : TheHSequenceOfPoint;
197 typL : IType from Contap;
201 rad : Real from Standard;