701f9ee4d34c155a1a7cce4d137a92718b227850
[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-2012 OPEN CASCADE SAS
5 //
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.
10 //
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.
13 //
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.
20
21
22 static Standard_Boolean IntPP (const IntSurf_Quadric&,
23                                const IntSurf_Quadric&,
24                                const Standard_Real,
25                                const Standard_Real,
26                                Standard_Boolean&,
27                                IntPatch_SequenceOfLine&);
28
29 static Standard_Boolean IntPCy (const IntSurf_Quadric&,
30                                 const IntSurf_Quadric&,
31                                 const Standard_Real,
32                                 const Standard_Real,
33                                 const Standard_Boolean,
34                                 Standard_Boolean&,
35                                 IntPatch_SequenceOfLine&,
36                                 const Standard_Real H=0.);
37
38
39 static Standard_Boolean IntPSp (const IntSurf_Quadric&,
40                                 const IntSurf_Quadric&,
41                                 //modified by NIZNHY-PKV Tue Sep 20 08:59:56 2011t
42                                 const Standard_Real,
43                                 //modified by NIZNHY-PKV Tue Sep 20 08:59:52 2011t
44                                 const Standard_Real,
45                                 const Standard_Boolean,
46                                 Standard_Boolean&,
47                                 IntPatch_SequenceOfLine&,
48                                 IntPatch_SequenceOfPoint&);
49
50
51 static Standard_Boolean IntPCo (const IntSurf_Quadric&,
52                                 const IntSurf_Quadric&,
53                                 const Standard_Real,
54                                 const Standard_Real,
55                                 const Standard_Boolean,
56                                 Standard_Boolean&,
57                                 Standard_Boolean&,
58                                 IntPatch_SequenceOfLine&,
59                                 IntPatch_SequenceOfPoint&);
60
61
62 static void ProcessBounds(const Handle(IntPatch_ALine)&,
63                           const IntPatch_SequenceOfLine&,
64                           const IntSurf_Quadric&,
65                           const IntSurf_Quadric&,
66                           Standard_Boolean&,
67                           const gp_Pnt&,
68                           const Standard_Real,
69                           Standard_Boolean&,
70                           const gp_Pnt&,
71                           const Standard_Real,
72                           Standard_Boolean&,
73                           const Standard_Real);
74
75
76 static Standard_Boolean IntCyCy(const IntSurf_Quadric&,
77                                 const IntSurf_Quadric&,
78                                 const Standard_Real,
79                                 Standard_Boolean&,
80                                 Standard_Boolean&,
81                                 Standard_Boolean&,
82                                 IntPatch_SequenceOfLine&,
83                                 IntPatch_SequenceOfPoint&);
84
85 static Standard_Boolean IntCySp(const IntSurf_Quadric&,
86                                 const IntSurf_Quadric&,
87                                 const Standard_Real,
88                                 const Standard_Boolean,
89                                 Standard_Boolean&,
90                                 Standard_Boolean&,
91                                 IntPatch_SequenceOfLine&,
92                                 IntPatch_SequenceOfPoint&);
93
94 static Standard_Boolean IntCyCo(const IntSurf_Quadric&,
95                                 const IntSurf_Quadric&,
96                                 const Standard_Real,
97                                 const Standard_Boolean,
98                                 Standard_Boolean&,
99                                 Standard_Boolean&,
100                                 IntPatch_SequenceOfLine&,
101                                 IntPatch_SequenceOfPoint&);
102
103 static Standard_Boolean IntSpSp(const IntSurf_Quadric&,
104                                 const IntSurf_Quadric&,
105                                 const Standard_Real,
106                                 Standard_Boolean&,
107                                 Standard_Boolean&,
108                                 IntPatch_SequenceOfLine&,
109                                 IntPatch_SequenceOfPoint&);
110
111 static Standard_Boolean IntCoSp(const IntSurf_Quadric&,
112                                 const IntSurf_Quadric&,
113                                 const Standard_Real,
114                                 const Standard_Boolean,
115                                 Standard_Boolean&,
116                                 Standard_Boolean&,
117                                 IntPatch_SequenceOfLine&,
118                                 IntPatch_SequenceOfPoint&);
119
120 static Standard_Boolean IntCoCo(const IntSurf_Quadric&,
121                                 const IntSurf_Quadric&,
122                                 const Standard_Real,
123                                 Standard_Boolean&,
124                                 Standard_Boolean&,
125                                 Standard_Boolean&,
126                                 IntPatch_SequenceOfLine&,
127                                 IntPatch_SequenceOfPoint&);