0024624: Lost word in license statement in source files
[occt.git] / src / IntPatch / IntPatch_ImpImpIntersection_1.gxx
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
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License 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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 static Standard_Boolean IntPP (const IntSurf_Quadric&,
18                                const IntSurf_Quadric&,
19                                const Standard_Real,
20                                const Standard_Real,
21                                Standard_Boolean&,
22                                IntPatch_SequenceOfLine&);
23
24 static Standard_Boolean IntPCy (const IntSurf_Quadric&,
25                                 const IntSurf_Quadric&,
26                                 const Standard_Real,
27                                 const Standard_Real,
28                                 const Standard_Boolean,
29                                 Standard_Boolean&,
30                                 IntPatch_SequenceOfLine&,
31                                 const Standard_Real H=0.);
32
33
34 static Standard_Boolean IntPSp (const IntSurf_Quadric&,
35                                 const IntSurf_Quadric&,
36                                 //modified by NIZNHY-PKV Tue Sep 20 08:59:56 2011t
37                                 const Standard_Real,
38                                 //modified by NIZNHY-PKV Tue Sep 20 08:59:52 2011t
39                                 const Standard_Real,
40                                 const Standard_Boolean,
41                                 Standard_Boolean&,
42                                 IntPatch_SequenceOfLine&,
43                                 IntPatch_SequenceOfPoint&);
44
45
46 static Standard_Boolean IntPCo (const IntSurf_Quadric&,
47                                 const IntSurf_Quadric&,
48                                 const Standard_Real,
49                                 const Standard_Real,
50                                 const Standard_Boolean,
51                                 Standard_Boolean&,
52                                 Standard_Boolean&,
53                                 IntPatch_SequenceOfLine&,
54                                 IntPatch_SequenceOfPoint&);
55
56
57 static void ProcessBounds(const Handle(IntPatch_ALine)&,
58                           const IntPatch_SequenceOfLine&,
59                           const IntSurf_Quadric&,
60                           const IntSurf_Quadric&,
61                           Standard_Boolean&,
62                           const gp_Pnt&,
63                           const Standard_Real,
64                           Standard_Boolean&,
65                           const gp_Pnt&,
66                           const Standard_Real,
67                           Standard_Boolean&,
68                           const Standard_Real);
69
70
71 static Standard_Boolean IntCyCy(const IntSurf_Quadric&,
72                                 const IntSurf_Quadric&,
73                                 const Standard_Real,
74                                 Standard_Boolean&,
75                                 Standard_Boolean&,
76                                 Standard_Boolean&,
77                                 IntPatch_SequenceOfLine&,
78                                 IntPatch_SequenceOfPoint&);
79
80 static Standard_Boolean IntCySp(const IntSurf_Quadric&,
81                                 const IntSurf_Quadric&,
82                                 const Standard_Real,
83                                 const Standard_Boolean,
84                                 Standard_Boolean&,
85                                 Standard_Boolean&,
86                                 IntPatch_SequenceOfLine&,
87                                 IntPatch_SequenceOfPoint&);
88
89 static Standard_Boolean IntCyCo(const IntSurf_Quadric&,
90                                 const IntSurf_Quadric&,
91                                 const Standard_Real,
92                                 const Standard_Boolean,
93                                 Standard_Boolean&,
94                                 Standard_Boolean&,
95                                 IntPatch_SequenceOfLine&,
96                                 IntPatch_SequenceOfPoint&);
97
98 static Standard_Boolean IntSpSp(const IntSurf_Quadric&,
99                                 const IntSurf_Quadric&,
100                                 const Standard_Real,
101                                 Standard_Boolean&,
102                                 Standard_Boolean&,
103                                 IntPatch_SequenceOfLine&,
104                                 IntPatch_SequenceOfPoint&);
105
106 static Standard_Boolean IntCoSp(const IntSurf_Quadric&,
107                                 const IntSurf_Quadric&,
108                                 const Standard_Real,
109                                 const Standard_Boolean,
110                                 Standard_Boolean&,
111                                 Standard_Boolean&,
112                                 IntPatch_SequenceOfLine&,
113                                 IntPatch_SequenceOfPoint&);
114
115 static Standard_Boolean IntCoCo(const IntSurf_Quadric&,
116                                 const IntSurf_Quadric&,
117                                 const Standard_Real,
118                                 Standard_Boolean&,
119                                 Standard_Boolean&,
120                                 Standard_Boolean&,
121                                 IntPatch_SequenceOfLine&,
122                                 IntPatch_SequenceOfPoint&);
123
124 //torus
125 static Standard_Boolean IntPTo(const IntSurf_Quadric&,
126                                const IntSurf_Quadric&,
127                                const Standard_Real,
128                                const Standard_Boolean,
129                                Standard_Boolean&,
130                                IntPatch_SequenceOfLine&);
131
132 static Standard_Boolean IntCyTo(const IntSurf_Quadric&,
133                                 const IntSurf_Quadric&,
134                                 const Standard_Real,
135                                 const Standard_Boolean,
136                                 Standard_Boolean&,
137                                 IntPatch_SequenceOfLine&);
138
139 static Standard_Boolean IntCoTo(const IntSurf_Quadric&,
140                                 const IntSurf_Quadric&,
141                                 const Standard_Real,
142                                 const Standard_Boolean,
143                                 Standard_Boolean&,
144                                 IntPatch_SequenceOfLine&);
145
146 static Standard_Boolean IntSpTo(const IntSurf_Quadric&,
147                                 const IntSurf_Quadric&,
148                                 const Standard_Real,
149                                 const Standard_Boolean,
150                                 Standard_Boolean&,
151                                 IntPatch_SequenceOfLine&);
152
153 static Standard_Boolean IntToTo(const IntSurf_Quadric&,
154                                 const IntSurf_Quadric&,
155                                 const Standard_Real,
156                                 Standard_Boolean&,
157                                 Standard_Boolean&,
158                                 IntPatch_SequenceOfLine&);