1 // Created on: 1995-01-27
2 // Created by: Jacques GOUSSARD
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <GeomInt_WLApprox.hxx>
19 #include <Standard_OutOfRange.hxx>
20 #include <StdFail_NotDone.hxx>
21 #include <Adaptor3d_HSurface.hxx>
22 #include <Adaptor3d_HSurfaceTool.hxx>
23 #include <IntSurf_Quadric.hxx>
24 #include <IntSurf_QuadricTool.hxx>
25 #include <IntPatch_WLine.hxx>
26 #include <GeomInt_ThePrmPrmSvSurfacesOfWLApprox.hxx>
27 #include <GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox.hxx>
28 #include <GeomInt_TheImpPrmSvSurfacesOfWLApprox.hxx>
29 #include <GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox.hxx>
30 #include <GeomInt_TheMultiLineOfWLApprox.hxx>
31 #include <GeomInt_TheMultiLineToolOfWLApprox.hxx>
32 #include <GeomInt_TheComputeLineOfWLApprox.hxx>
33 #include <GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox.hxx>
34 #include <GeomInt_MyGradientbisOfTheComputeLineOfWLApprox.hxx>
35 #include <GeomInt_TheComputeLineBezierOfWLApprox.hxx>
36 #include <GeomInt_MyGradientOfTheComputeLineBezierOfWLApprox.hxx>
37 #include <AppParCurves_MultiBSpCurve.hxx>
40 #define ThePSurface Handle(Adaptor3d_HSurface)
41 #define ThePSurface_hxx <Adaptor3d_HSurface.hxx>
42 #define ThePSurfaceTool Adaptor3d_HSurfaceTool
43 #define ThePSurfaceTool_hxx <Adaptor3d_HSurfaceTool.hxx>
44 #define TheISurface IntSurf_Quadric
45 #define TheISurface_hxx <IntSurf_Quadric.hxx>
46 #define TheISurfaceTool IntSurf_QuadricTool
47 #define TheISurfaceTool_hxx <IntSurf_QuadricTool.hxx>
48 #define Handle_TheWLine Handle(IntPatch_WLine)
49 #define TheWLine IntPatch_WLine
50 #define TheWLine_hxx <IntPatch_WLine.hxx>
51 #define ApproxInt_ThePrmPrmSvSurfaces GeomInt_ThePrmPrmSvSurfacesOfWLApprox
52 #define ApproxInt_ThePrmPrmSvSurfaces_hxx <GeomInt_ThePrmPrmSvSurfacesOfWLApprox.hxx>
53 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox
54 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces_hxx <GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox.hxx>
55 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox
56 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces_hxx <GeomInt_TheInt2SOfThePrmPrmSvSurfacesOfWLApprox.hxx>
57 #define ApproxInt_TheImpPrmSvSurfaces GeomInt_TheImpPrmSvSurfacesOfWLApprox
58 #define ApproxInt_TheImpPrmSvSurfaces_hxx <GeomInt_TheImpPrmSvSurfacesOfWLApprox.hxx>
59 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox
60 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces_hxx <GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox.hxx>
61 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox
62 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces_hxx <GeomInt_TheZerImpFuncOfTheImpPrmSvSurfacesOfWLApprox.hxx>
63 #define ApproxInt_TheMultiLine GeomInt_TheMultiLineOfWLApprox
64 #define ApproxInt_TheMultiLine_hxx <GeomInt_TheMultiLineOfWLApprox.hxx>
65 #define ApproxInt_TheMultiLineTool GeomInt_TheMultiLineToolOfWLApprox
66 #define ApproxInt_TheMultiLineTool_hxx <GeomInt_TheMultiLineToolOfWLApprox.hxx>
67 #define ApproxInt_TheComputeLine GeomInt_TheComputeLineOfWLApprox
68 #define ApproxInt_TheComputeLine_hxx <GeomInt_TheComputeLineOfWLApprox.hxx>
69 #define ApproxInt_MyBSplGradientOfTheComputeLine GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox
70 #define ApproxInt_MyBSplGradientOfTheComputeLine_hxx <GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox.hxx>
71 #define ApproxInt_MyGradientbisOfTheComputeLine GeomInt_MyGradientbisOfTheComputeLineOfWLApprox
72 #define ApproxInt_MyGradientbisOfTheComputeLine_hxx <GeomInt_MyGradientbisOfTheComputeLineOfWLApprox.hxx>
73 #define ApproxInt_MyBSplGradientOfTheComputeLine GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox
74 #define ApproxInt_MyBSplGradientOfTheComputeLine_hxx <GeomInt_MyBSplGradientOfTheComputeLineOfWLApprox.hxx>
75 #define ApproxInt_MyGradientbisOfTheComputeLine GeomInt_MyGradientbisOfTheComputeLineOfWLApprox
76 #define ApproxInt_MyGradientbisOfTheComputeLine_hxx <GeomInt_MyGradientbisOfTheComputeLineOfWLApprox.hxx>
77 #define ApproxInt_TheComputeLineBezier GeomInt_TheComputeLineBezierOfWLApprox
78 #define ApproxInt_TheComputeLineBezier_hxx <GeomInt_TheComputeLineBezierOfWLApprox.hxx>
79 #define ApproxInt_MyGradientOfTheComputeLineBezier GeomInt_MyGradientOfTheComputeLineBezierOfWLApprox
80 #define ApproxInt_MyGradientOfTheComputeLineBezier_hxx <GeomInt_MyGradientOfTheComputeLineBezierOfWLApprox.hxx>
81 #define ApproxInt_MyGradientOfTheComputeLineBezier GeomInt_MyGradientOfTheComputeLineBezierOfWLApprox
82 #define ApproxInt_MyGradientOfTheComputeLineBezier_hxx <GeomInt_MyGradientOfTheComputeLineBezierOfWLApprox.hxx>
83 #define ApproxInt_Approx GeomInt_WLApprox
84 #define ApproxInt_Approx_hxx <GeomInt_WLApprox.hxx>
85 #include <ApproxInt_Approx.gxx>