1 // Created on: 1993-11-18
2 // Created by: Isabelle GRIGNON
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
9 // under the terms of the GNU Lesser General Public 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 //=======================================================================
18 //function : SetInterference
20 //=======================================================================
22 inline void ChFiDS_FaceInterference:: SetInterference
23 (const Standard_Integer LineIndex,
24 const TopAbs_Orientation Trans,
25 const Handle(Geom2d_Curve)& PCurv1,
26 const Handle(Geom2d_Curve)& PCurv2)
28 lineindex = LineIndex;
29 LineTransition = Trans;
30 pCurveOnFace = PCurv1;
31 pCurveOnSurf = PCurv2;
35 //=======================================================================
36 //function : SetLineIndex
38 //=======================================================================
40 inline void ChFiDS_FaceInterference::SetLineIndex
41 (const Standard_Integer I)
46 //=======================================================================
47 //function : SetFirstParameter
49 //=======================================================================
51 inline void ChFiDS_FaceInterference::SetFirstParameter(
52 const Standard_Real U1)
58 //=======================================================================
59 //function : SetLastParameter
61 //=======================================================================
63 inline void ChFiDS_FaceInterference::SetLastParameter(
64 const Standard_Real U1)
70 //=======================================================================
71 //function : LineIndex
73 //=======================================================================
75 inline Standard_Integer ChFiDS_FaceInterference::LineIndex()const
81 //=======================================================================
82 //function : Transition
84 //=======================================================================
86 inline TopAbs_Orientation ChFiDS_FaceInterference::Transition()const
88 return LineTransition;
92 //=======================================================================
93 //function : PCurveOnFace
95 //=======================================================================
97 inline const Handle(Geom2d_Curve)&
98 ChFiDS_FaceInterference::PCurveOnFace()const
103 //=======================================================================
104 //function : PCurveOnSurf
106 //=======================================================================
108 inline const Handle(Geom2d_Curve)& ChFiDS_FaceInterference::PCurveOnSurf()const
114 //=======================================================================
115 //function : ChangePCurveOnFace
117 //=======================================================================
119 inline Handle(Geom2d_Curve)&
120 ChFiDS_FaceInterference::ChangePCurveOnFace()
125 //=======================================================================
126 //function : ChangePCurveOnSurf
128 //=======================================================================
130 inline Handle(Geom2d_Curve)&
131 ChFiDS_FaceInterference::ChangePCurveOnSurf()
137 //=======================================================================
138 //function : FirstParameter
140 //=======================================================================
142 inline Standard_Real ChFiDS_FaceInterference:: FirstParameter()const
148 //=======================================================================
149 //function : LastParameter
151 //=======================================================================
153 inline Standard_Real ChFiDS_FaceInterference:: LastParameter()const