0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / BRepApprox / BRepApprox_Approx_0.cxx
1 // Created on: 1995-06-06
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #include <BRepApprox_Approx.hxx>
18
19 #include <Standard_OutOfRange.hxx>
20 #include <StdFail_NotDone.hxx>
21 #include <BRepAdaptor_Surface.hxx>
22 #include <BRepApprox_SurfaceTool.hxx>
23 #include <IntSurf_Quadric.hxx>
24 #include <IntSurf_QuadricTool.hxx>
25 #include <BRepApprox_ApproxLine.hxx>
26 #include <BRepApprox_ThePrmPrmSvSurfacesOfApprox.hxx>
27 #include <BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>
28 #include <BRepApprox_TheImpPrmSvSurfacesOfApprox.hxx>
29 #include <BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox.hxx>
30 #include <BRepApprox_TheMultiLineOfApprox.hxx>
31 #include <BRepApprox_TheMultiLineToolOfApprox.hxx>
32 #include <BRepApprox_TheComputeLineOfApprox.hxx>
33 #include <BRepApprox_MyBSplGradientOfTheComputeLineOfApprox.hxx>
34 #include <BRepApprox_MyGradientbisOfTheComputeLineOfApprox.hxx>
35 #include <BRepApprox_TheComputeLineBezierOfApprox.hxx>
36 #include <BRepApprox_MyGradientOfTheComputeLineBezierOfApprox.hxx>
37 #include <AppParCurves_MultiBSpCurve.hxx>
38  
39
40 #define ThePSurface BRepAdaptor_Surface
41 #define ThePSurface_hxx <BRepAdaptor_Surface.hxx>
42 #define ThePSurfaceTool BRepApprox_SurfaceTool
43 #define ThePSurfaceTool_hxx <BRepApprox_SurfaceTool.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(BRepApprox_ApproxLine)
49 #define TheWLine BRepApprox_ApproxLine
50 #define TheWLine_hxx <BRepApprox_ApproxLine.hxx>
51 #define ApproxInt_ThePrmPrmSvSurfaces BRepApprox_ThePrmPrmSvSurfacesOfApprox
52 #define ApproxInt_ThePrmPrmSvSurfaces_hxx <BRepApprox_ThePrmPrmSvSurfacesOfApprox.hxx>
53 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox
54 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces_hxx <BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>
55 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox
56 #define ApproxInt_TheInt2SOfThePrmPrmSvSurfaces_hxx <BRepApprox_TheInt2SOfThePrmPrmSvSurfacesOfApprox.hxx>
57 #define ApproxInt_TheImpPrmSvSurfaces BRepApprox_TheImpPrmSvSurfacesOfApprox
58 #define ApproxInt_TheImpPrmSvSurfaces_hxx <BRepApprox_TheImpPrmSvSurfacesOfApprox.hxx>
59 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox
60 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces_hxx <BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox.hxx>
61 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox
62 #define ApproxInt_TheZerImpFuncOfTheImpPrmSvSurfaces_hxx <BRepApprox_TheZerImpFuncOfTheImpPrmSvSurfacesOfApprox.hxx>
63 #define ApproxInt_TheMultiLine BRepApprox_TheMultiLineOfApprox
64 #define ApproxInt_TheMultiLine_hxx <BRepApprox_TheMultiLineOfApprox.hxx>
65 #define ApproxInt_TheMultiLineTool BRepApprox_TheMultiLineToolOfApprox
66 #define ApproxInt_TheMultiLineTool_hxx <BRepApprox_TheMultiLineToolOfApprox.hxx>
67 #define ApproxInt_TheComputeLine BRepApprox_TheComputeLineOfApprox
68 #define ApproxInt_TheComputeLine_hxx <BRepApprox_TheComputeLineOfApprox.hxx>
69 #define ApproxInt_MyBSplGradientOfTheComputeLine BRepApprox_MyBSplGradientOfTheComputeLineOfApprox
70 #define ApproxInt_MyBSplGradientOfTheComputeLine_hxx <BRepApprox_MyBSplGradientOfTheComputeLineOfApprox.hxx>
71 #define ApproxInt_MyGradientbisOfTheComputeLine BRepApprox_MyGradientbisOfTheComputeLineOfApprox
72 #define ApproxInt_MyGradientbisOfTheComputeLine_hxx <BRepApprox_MyGradientbisOfTheComputeLineOfApprox.hxx>
73 #define ApproxInt_MyBSplGradientOfTheComputeLine BRepApprox_MyBSplGradientOfTheComputeLineOfApprox
74 #define ApproxInt_MyBSplGradientOfTheComputeLine_hxx <BRepApprox_MyBSplGradientOfTheComputeLineOfApprox.hxx>
75 #define ApproxInt_MyGradientbisOfTheComputeLine BRepApprox_MyGradientbisOfTheComputeLineOfApprox
76 #define ApproxInt_MyGradientbisOfTheComputeLine_hxx <BRepApprox_MyGradientbisOfTheComputeLineOfApprox.hxx>
77 #define ApproxInt_TheComputeLineBezier BRepApprox_TheComputeLineBezierOfApprox
78 #define ApproxInt_TheComputeLineBezier_hxx <BRepApprox_TheComputeLineBezierOfApprox.hxx>
79 #define ApproxInt_MyGradientOfTheComputeLineBezier BRepApprox_MyGradientOfTheComputeLineBezierOfApprox
80 #define ApproxInt_MyGradientOfTheComputeLineBezier_hxx <BRepApprox_MyGradientOfTheComputeLineBezierOfApprox.hxx>
81 #define ApproxInt_MyGradientOfTheComputeLineBezier BRepApprox_MyGradientOfTheComputeLineBezierOfApprox
82 #define ApproxInt_MyGradientOfTheComputeLineBezier_hxx <BRepApprox_MyGradientOfTheComputeLineBezierOfApprox.hxx>
83 #define ApproxInt_Approx BRepApprox_Approx
84 #define ApproxInt_Approx_hxx <BRepApprox_Approx.hxx>
85 #include <ApproxInt_Approx.gxx>
86