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&);
38 static Standard_Boolean IntPSp (const IntSurf_Quadric&,
39 const IntSurf_Quadric&,
40 //modified by NIZNHY-PKV Tue Sep 20 08:59:56 2011t
42 //modified by NIZNHY-PKV Tue Sep 20 08:59:52 2011t
44 const Standard_Boolean,
46 IntPatch_SequenceOfLine&,
47 IntPatch_SequenceOfPoint&);
50 static Standard_Boolean IntPCo (const IntSurf_Quadric&,
51 const IntSurf_Quadric&,
54 const Standard_Boolean,
57 IntPatch_SequenceOfLine&,
58 IntPatch_SequenceOfPoint&);
61 static void ProcessBounds(const Handle(IntPatch_ALine)&,
62 const IntPatch_SequenceOfLine&,
63 const IntSurf_Quadric&,
64 const IntSurf_Quadric&,
75 static Standard_Boolean IntCyCy(const IntSurf_Quadric&,
76 const IntSurf_Quadric&,
81 IntPatch_SequenceOfLine&,
82 IntPatch_SequenceOfPoint&);
84 static Standard_Boolean IntCySp(const IntSurf_Quadric&,
85 const IntSurf_Quadric&,
87 const Standard_Boolean,
90 IntPatch_SequenceOfLine&,
91 IntPatch_SequenceOfPoint&);
93 static Standard_Boolean IntCyCo(const IntSurf_Quadric&,
94 const IntSurf_Quadric&,
96 const Standard_Boolean,
99 IntPatch_SequenceOfLine&,
100 IntPatch_SequenceOfPoint&);
102 static Standard_Boolean IntSpSp(const IntSurf_Quadric&,
103 const IntSurf_Quadric&,
107 IntPatch_SequenceOfLine&,
108 IntPatch_SequenceOfPoint&);
110 static Standard_Boolean IntCoSp(const IntSurf_Quadric&,
111 const IntSurf_Quadric&,
113 const Standard_Boolean,
116 IntPatch_SequenceOfLine&,
117 IntPatch_SequenceOfPoint&);
119 static Standard_Boolean IntCoCo(const IntSurf_Quadric&,
120 const IntSurf_Quadric&,
125 IntPatch_SequenceOfLine&,
126 IntPatch_SequenceOfPoint&);