1 // File: TopOpeBRep_LineInter.lxx
2 // Created: Wed Nov 10 18:31:43 1993
3 // Author: Jean Yves LEBEY
4 // Copyright: OPEN CASCADE 1993
6 #include <IntPatch_Line.hxx>
9 //=======================================================================
10 //function : TopOpeBRep_LineInter
12 //=======================================================================
14 inline TopOpeBRep_LineInter::TopOpeBRep_LineInter() :
16 //myIndex, myNbVPoint,
17 myIsVClosed(Standard_False),
18 myHasVPonR(Standard_False),
19 myINL(Standard_False),
20 myVPBDefined(Standard_False)
21 //myVPF, myVPL, myVPN,
22 //myTypeLineCurve, myLineTonF1, myLineTonF2
26 //=======================================================================
29 //=======================================================================
31 inline void TopOpeBRep_LineInter::SetFaces(const TopoDS_Face& F1, const TopoDS_Face& F2)
37 //=======================================================================
38 //function : TypeLineCurve
40 //=======================================================================
42 inline TopOpeBRep_TypeLineCurve TopOpeBRep_LineInter::TypeLineCurve() const
44 return myTypeLineCurve;
47 //=======================================================================
50 //=======================================================================
52 inline Standard_Integer TopOpeBRep_LineInter::NbVPoint() const
57 //=======================================================================
60 //=======================================================================
62 inline Standard_Boolean TopOpeBRep_LineInter::INL() const
67 //=======================================================================
68 //function : IsVClosed
70 //=======================================================================
72 inline Standard_Boolean TopOpeBRep_LineInter::IsVClosed() const
77 //=======================================================================
80 //=======================================================================
82 inline Standard_Boolean TopOpeBRep_LineInter::HasVPonR() const
87 //=======================================================================
88 //function : TransitionOnS1
90 //=======================================================================
92 inline IntSurf_TypeTrans TopOpeBRep_LineInter::TransitionOnS1() const
94 return myIL->TransitionOnS1();
97 //=======================================================================
98 //function : TransitionOnS2
100 //=======================================================================
102 inline IntSurf_TypeTrans TopOpeBRep_LineInter::TransitionOnS2() const
104 return myIL->TransitionOnS2();
107 //=======================================================================
108 //function : SituationS1
110 //=======================================================================
112 inline IntSurf_Situation TopOpeBRep_LineInter::SituationS1() const
114 return myIL->SituationS1();
117 //=======================================================================
118 //function : SituationS2
120 //=======================================================================
122 inline IntSurf_Situation TopOpeBRep_LineInter::SituationS2() const
124 return myIL->SituationS2();
127 //=======================================================================
130 //=======================================================================
132 inline const Handle(IntPatch_WLine)& TopOpeBRep_LineInter::LineW() const
137 //=======================================================================
140 //=======================================================================
142 inline const Handle(IntPatch_GLine)& TopOpeBRep_LineInter::LineG() const
147 //=======================================================================
150 //=======================================================================
152 inline const Handle(IntPatch_RLine)& TopOpeBRep_LineInter::LineR() const
157 //=======================================================================
160 //=======================================================================
162 inline void TopOpeBRep_LineInter::Index(const Standard_Integer I)
167 //=======================================================================
170 //=======================================================================
172 inline Standard_Integer TopOpeBRep_LineInter::Index() const
177 //=======================================================================
180 //=======================================================================
182 inline Standard_Boolean TopOpeBRep_LineInter::OK() const