0032951: Coding - get rid of unused headers [GeomConvert to IGESBasic]
[occt.git] / src / GeomFill / GeomFill_LocFunction.hxx
1 // Created on: 1998-02-02
2 // Created by: Philippe MANGIN
3 // Copyright (c) 1998-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_LocFunction_HeaderFile
18 #define _GeomFill_LocFunction_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <TColgp_Array1OfVec.hxx>
25 #include <gp_Mat.hxx>
26 #include <Standard_Integer.hxx>
27 class GeomFill_LocationLaw;
28
29
30
31 class GeomFill_LocFunction 
32 {
33 public:
34
35   DEFINE_STANDARD_ALLOC
36
37   
38   Standard_EXPORT GeomFill_LocFunction(const Handle(GeomFill_LocationLaw)& Law);
39   
40   //! compute the section for v = param
41   Standard_EXPORT Standard_Boolean D0 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last);
42   
43   //! compute the first  derivative in v direction  of the
44   //! section for v =  param
45   Standard_EXPORT Standard_Boolean D1 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last);
46   
47   //! compute the second derivative  in v direction of the
48   //! section  for v = param
49   Standard_EXPORT Standard_Boolean D2 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last);
50   
51   Standard_EXPORT void DN (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, const Standard_Integer Order, Standard_Real& Result, Standard_Integer& Ier);
52
53
54
55
56 protected:
57
58
59
60
61
62 private:
63
64
65
66   Handle(GeomFill_LocationLaw) myLaw;
67   TColgp_Array1OfVec V;
68   TColgp_Array1OfVec DV;
69   TColgp_Array1OfVec D2V;
70   gp_Mat M;
71   gp_Mat DM;
72   gp_Mat D2M;
73
74
75 };
76
77
78
79
80
81
82
83 #endif // _GeomFill_LocFunction_HeaderFile