0030480: Visualization - Clear of Select3D_SensitiveGroup does not update internal...
[occt.git] / src / GeomFill / GeomFill_PolynomialConvertor.hxx
CommitLineData
42cf5bc1 1// Created on: 1997-07-18
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_PolynomialConvertor_HeaderFile
18#define _GeomFill_PolynomialConvertor_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <Standard_Integer.hxx>
25#include <Standard_Boolean.hxx>
26#include <math_Matrix.hxx>
27#include <Standard_Real.hxx>
28#include <TColgp_Array1OfPnt.hxx>
29#include <TColgp_Array1OfVec.hxx>
30class StdFail_NotDone;
31class gp_Pnt;
32class gp_Vec;
33
34
35//! To convert circular section in polynome
36class GeomFill_PolynomialConvertor
37{
38public:
39
40 DEFINE_STANDARD_ALLOC
41
42
43 Standard_EXPORT GeomFill_PolynomialConvertor();
44
45 //! say if <me> is Initialized
46 Standard_EXPORT Standard_Boolean Initialized() const;
47
48 Standard_EXPORT void Init();
49
50 Standard_EXPORT void Section (const gp_Pnt& FirstPnt, const gp_Pnt& Center, const gp_Vec& Dir, const Standard_Real Angle, TColgp_Array1OfPnt& Poles) const;
51
52 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) const;
53
54 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) const;
55
56
57
58
59protected:
60
61
62
63
64
65private:
66
67
68
69 Standard_Integer Ordre;
70 Standard_Boolean myinit;
71 math_Matrix BH;
72
73
74};
75
76
77
78
79
80
81
82#endif // _GeomFill_PolynomialConvertor_HeaderFile