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
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 #ifndef _GeomFill_LocFunction_HeaderFile
18 #define _GeomFill_LocFunction_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
24 #include <TColgp_Array1OfVec.hxx>
26 #include <Standard_Integer.hxx>
27 class GeomFill_LocationLaw;
31 class GeomFill_LocFunction
38 Standard_EXPORT GeomFill_LocFunction(const Handle(GeomFill_LocationLaw)& Law);
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);
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);
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);
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);
66 Handle(GeomFill_LocationLaw) myLaw;
68 TColgp_Array1OfVec DV;
69 TColgp_Array1OfVec D2V;
83 #endif // _GeomFill_LocFunction_HeaderFile