1 // Created on: 1992-05-07
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1992-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 static Standard_Boolean IntPP (const IntSurf_Quadric&,
18 const IntSurf_Quadric&,
22 IntPatch_SequenceOfLine&);
24 static Standard_Boolean IntPCy (const IntSurf_Quadric&,
25 const IntSurf_Quadric&,
28 const Standard_Boolean,
30 IntPatch_SequenceOfLine&,
31 const Standard_Real H=0.);
34 static Standard_Boolean IntPSp (const IntSurf_Quadric&,
35 const IntSurf_Quadric&,
36 //modified by NIZNHY-PKV Tue Sep 20 08:59:56 2011t
38 //modified by NIZNHY-PKV Tue Sep 20 08:59:52 2011t
40 const Standard_Boolean,
42 IntPatch_SequenceOfLine&,
43 IntPatch_SequenceOfPoint&);
46 static Standard_Boolean IntPCo (const IntSurf_Quadric&,
47 const IntSurf_Quadric&,
50 const Standard_Boolean,
53 IntPatch_SequenceOfLine&,
54 IntPatch_SequenceOfPoint&);
57 static void ProcessBounds(const Handle(IntPatch_ALine)&,
58 const IntPatch_SequenceOfLine&,
59 const IntSurf_Quadric&,
60 const IntSurf_Quadric&,
71 static Standard_Boolean IntCyCy(const IntSurf_Quadric&,
72 const IntSurf_Quadric&,
77 IntPatch_SequenceOfLine&,
78 IntPatch_SequenceOfPoint&);
80 static Standard_Boolean IntCySp(const IntSurf_Quadric&,
81 const IntSurf_Quadric&,
83 const Standard_Boolean,
86 IntPatch_SequenceOfLine&,
87 IntPatch_SequenceOfPoint&);
89 static Standard_Boolean IntCyCo(const IntSurf_Quadric&,
90 const IntSurf_Quadric&,
92 const Standard_Boolean,
95 IntPatch_SequenceOfLine&,
96 IntPatch_SequenceOfPoint&);
98 static Standard_Boolean IntSpSp(const IntSurf_Quadric&,
99 const IntSurf_Quadric&,
103 IntPatch_SequenceOfLine&,
104 IntPatch_SequenceOfPoint&);
106 static Standard_Boolean IntCoSp(const IntSurf_Quadric&,
107 const IntSurf_Quadric&,
109 const Standard_Boolean,
112 IntPatch_SequenceOfLine&,
113 IntPatch_SequenceOfPoint&);
115 static Standard_Boolean IntCoCo(const IntSurf_Quadric&,
116 const IntSurf_Quadric&,
121 IntPatch_SequenceOfLine&,
122 IntPatch_SequenceOfPoint&);
125 static Standard_Boolean IntPTo(const IntSurf_Quadric&,
126 const IntSurf_Quadric&,
128 const Standard_Boolean,
130 IntPatch_SequenceOfLine&);
132 static Standard_Boolean IntCyTo(const IntSurf_Quadric&,
133 const IntSurf_Quadric&,
135 const Standard_Boolean,
137 IntPatch_SequenceOfLine&);
139 static Standard_Boolean IntCoTo(const IntSurf_Quadric&,
140 const IntSurf_Quadric&,
142 const Standard_Boolean,
144 IntPatch_SequenceOfLine&);
146 static Standard_Boolean IntSpTo(const IntSurf_Quadric&,
147 const IntSurf_Quadric&,
149 const Standard_Boolean,
151 IntPatch_SequenceOfLine&);
153 static Standard_Boolean IntToTo(const IntSurf_Quadric&,
154 const IntSurf_Quadric&,
158 IntPatch_SequenceOfLine&);