1 -- Created on: 1993-11-10
2 -- Created by: Jean Yves LEBEY
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 class LineInter from TopOpeBRep
27 TypeLineCurve from TopOpeBRep,
32 VPointInter from TopOpeBRep,
33 HArray1OfVPointInter from TopOpeBRep,
34 WPointInter from TopOpeBRep,
35 Bipoint from TopOpeBRep,
36 Transition from TopOpeBRepDS,
38 Surface from BRepAdaptor,
40 TypeTrans from IntSurf,
41 Situation from IntSurf,
43 AsciiString from TCollection
47 Create returns LineInter from TopOpeBRep;
51 L : Line from IntPatch;
52 S1,S2:Surface from BRepAdaptor)
55 SetFaces(me:in out;F1,F2:Face from TopoDS);
58 TypeLineCurve(me) returns TypeLineCurve from TopOpeBRep
62 NbVPoint(me) returns Integer
66 VPoint(me; I : Integer) returns VPointInter from TopOpeBRep
67 ---C++: return const &
70 ChangeVPoint(me:in out; I : Integer)
71 returns VPointInter from TopOpeBRep
75 SetINL(me : in out); -- Is Null Length
76 INL(me) returns Boolean;
79 SetIsVClosed(me : in out);
80 IsVClosed(me) returns Boolean;
83 SetOK(me : in out; B : Boolean);
84 OK(me) returns Boolean;
87 SetHasVPonR(me : in out)
90 HasVPonR(me) returns Boolean
94 SetVPBounds(me : in out)
97 VPBounds(me; f,l,n : out Integer)
100 IsPeriodic(me) returns Boolean
103 Period(me) returns Real
106 Bounds(me; f,l : out Real)
109 HasVInternal(me : in out) returns Boolean
112 NbWPoint(me) returns Integer
115 WPoint(me : in out; I : Integer) returns WPointInter from TopOpeBRep
116 ---C++: return const &
119 TransitionOnS1(me) returns TypeTrans from IntSurf -- NYI const&
123 TransitionOnS2(me) returns TypeTrans from IntSurf -- NYI const&
127 SituationS1(me) returns Situation from IntSurf
131 SituationS2(me) returns Situation from IntSurf
135 Curve(me) returns Curve from Geom
138 Curve(me; parmin,parmax : Real) returns Curve from Geom
141 Arc(me) returns Shape from TopoDS;
142 ---Purpose: returns the edge of a RESTRICTION line (or a null edge).
143 ---C++: return const &
145 ArcIsEdge(me; I : Integer) returns Boolean;
146 ---Purpose: returns true if Arc() edge (of a RESTRICTION line) is
147 -- an edge of the original face <Index> (1 or 2).
149 LineW(me) returns WLine from IntPatch;
150 ---C++: return const &
153 LineG(me) returns GLine from IntPatch;
154 ---C++: return const &
157 LineR(me) returns RLine from IntPatch;
158 ---C++: return const &
161 HasFirstPoint(me) returns Boolean;
163 HasLastPoint(me) returns Boolean;
165 ComputeFaceFaceTransition(me:in out);
167 FaceFaceTransition(me;I:Integer) returns Transition from TopOpeBRepDS;
168 -- transition from face I(1,2) through me with face (2,1)
169 ---C++: return const &
171 Index(me : in out; I : Integer from Standard) is static; -- debug
173 Index(me) returns Integer from Standard is static; -- debug
175 DumpType(me) is static; -- debug
176 DumpVPoint(me; I : Integer;
177 s1,s2 : AsciiString from TCollection) is static; -- debug
178 DumpBipoint(me; B : Bipoint from TopOpeBRep;
179 s1,s2 : AsciiString from TCollection) is static; -- debug
181 SetTraceIndex(me:in out; exF1,exF2 : Integer) is static;
182 GetTraceIndex(me; exF1,exF2 : out Integer) is static;
183 -- <exf1,exf2> TopExp_Explorer exploration index of faces
184 -- involved in current line. (trace)
186 DumpLineTransitions(me; OS : in out OStream) returns OStream is static;
193 myNbVPoint : Integer;
194 myIsVClosed : Boolean;
195 myHasVPonR : Boolean;
197 myVPBDefined : Boolean;
201 myTypeLineCurve : TypeLineCurve from TopOpeBRep;
202 myIL : Line from IntPatch;
203 myILA : ALine from IntPatch;
204 myILR : RLine from IntPatch;
205 myILW : WLine from IntPatch;
206 myILG : GLine from IntPatch;
207 myCurrentWP : WPointInter from TopOpeBRep;
208 myHAVP : HArray1OfVPointInter from TopOpeBRep;
209 myF1 : Face from TopoDS;
210 myF2 : Face from TopoDS;
211 myLineTonF1 : Transition from TopOpeBRepDS;
212 myLineTonF2 : Transition from TopOpeBRepDS;
213 myNullShape : Shape from TopoDS; --dummy
216 myexF1,myexF2 : Integer;
218 end LineInter from TopOpeBRep;