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
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.
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.
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.
22 static Standard_Boolean IntPP (const IntSurf_Quadric&,
23 const IntSurf_Quadric&,
27 IntPatch_SequenceOfLine&);
29 static Standard_Boolean IntPCy (const IntSurf_Quadric&,
30 const IntSurf_Quadric&,
33 const Standard_Boolean,
35 IntPatch_SequenceOfLine&,
36 const Standard_Real H=0.);
39 static Standard_Boolean IntPSp (const IntSurf_Quadric&,
40 const IntSurf_Quadric&,
41 //modified by NIZNHY-PKV Tue Sep 20 08:59:56 2011t
43 //modified by NIZNHY-PKV Tue Sep 20 08:59:52 2011t
45 const Standard_Boolean,
47 IntPatch_SequenceOfLine&,
48 IntPatch_SequenceOfPoint&);
51 static Standard_Boolean IntPCo (const IntSurf_Quadric&,
52 const IntSurf_Quadric&,
55 const Standard_Boolean,
58 IntPatch_SequenceOfLine&,
59 IntPatch_SequenceOfPoint&);
62 static void ProcessBounds(const Handle(IntPatch_ALine)&,
63 const IntPatch_SequenceOfLine&,
64 const IntSurf_Quadric&,
65 const IntSurf_Quadric&,
76 static Standard_Boolean IntCyCy(const IntSurf_Quadric&,
77 const IntSurf_Quadric&,
82 IntPatch_SequenceOfLine&,
83 IntPatch_SequenceOfPoint&);
85 static Standard_Boolean IntCySp(const IntSurf_Quadric&,
86 const IntSurf_Quadric&,
88 const Standard_Boolean,
91 IntPatch_SequenceOfLine&,
92 IntPatch_SequenceOfPoint&);
94 static Standard_Boolean IntCyCo(const IntSurf_Quadric&,
95 const IntSurf_Quadric&,
97 const Standard_Boolean,
100 IntPatch_SequenceOfLine&,
101 IntPatch_SequenceOfPoint&);
103 static Standard_Boolean IntSpSp(const IntSurf_Quadric&,
104 const IntSurf_Quadric&,
108 IntPatch_SequenceOfLine&,
109 IntPatch_SequenceOfPoint&);
111 static Standard_Boolean IntCoSp(const IntSurf_Quadric&,
112 const IntSurf_Quadric&,
114 const Standard_Boolean,
117 IntPatch_SequenceOfLine&,
118 IntPatch_SequenceOfPoint&);
120 static Standard_Boolean IntCoCo(const IntSurf_Quadric&,
121 const IntSurf_Quadric&,
126 IntPatch_SequenceOfLine&,
127 IntPatch_SequenceOfPoint&);