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