0032951: Coding - get rid of unused headers [GeomConvert to IGESBasic]
[occt.git] / src / GeomFill / GeomFill_QuasiAngularConvertor.hxx
1 // Created on: 1997-08-06
2 // Created by: Philippe MANGIN
3 // Copyright (c) 1997-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 #ifndef _GeomFill_QuasiAngularConvertor_HeaderFile
18 #define _GeomFill_QuasiAngularConvertor_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22
23 #include <math_Matrix.hxx>
24 #include <math_Vector.hxx>
25 #include <TColgp_Array1OfPnt.hxx>
26 #include <TColStd_Array1OfReal.hxx>
27 #include <TColgp_Array1OfVec.hxx>
28 class gp_Pnt;
29 class gp_Vec;
30
31
32 //! To convert circular section in QuasiAngular Bezier
33 //! form
34 class GeomFill_QuasiAngularConvertor 
35 {
36 public:
37
38   DEFINE_STANDARD_ALLOC
39
40   
41   Standard_EXPORT GeomFill_QuasiAngularConvertor();
42   
43   //! say if <me> is Initialized
44   Standard_EXPORT Standard_Boolean Initialized() const;
45   
46   Standard_EXPORT void Init();
47   
48   Standard_EXPORT void Section (const gp_Pnt& FirstPnt, const gp_Pnt& Center, const gp_Vec& Dir, const Standard_Real Angle, TColgp_Array1OfPnt& Poles, TColStd_Array1OfReal& Weights);
49   
50   Standard_EXPORT void Section (const gp_Pnt& FirstPnt, const gp_Vec& DFirstPnt, const gp_Pnt& Center, const gp_Vec& DCenter, const gp_Vec& Dir, const gp_Vec& DDir, const Standard_Real Angle, const Standard_Real DAngle, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColStd_Array1OfReal& Weights, TColStd_Array1OfReal& DWeights);
51   
52   Standard_EXPORT void Section (const gp_Pnt& FirstPnt, const gp_Vec& DFirstPnt, const gp_Vec& D2FirstPnt, const gp_Pnt& Center, const gp_Vec& DCenter, const gp_Vec& D2Center, const gp_Vec& Dir, const gp_Vec& DDir, const gp_Vec& D2Dir, const Standard_Real Angle, const Standard_Real DAngle, const Standard_Real D2Angle, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfVec& D2Poles, TColStd_Array1OfReal& Weights, TColStd_Array1OfReal& DWeights, TColStd_Array1OfReal& D2Weights);
53
54
55
56
57 protected:
58
59
60
61
62
63 private:
64
65
66
67   Standard_Boolean myinit;
68   math_Matrix B;
69   math_Vector Px;
70   math_Vector Py;
71   math_Vector W;
72   math_Vector Vx;
73   math_Vector Vy;
74   math_Vector Vw;
75
76
77 };
78
79
80
81
82
83
84
85 #endif // _GeomFill_QuasiAngularConvertor_HeaderFile