0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / GeomFill / GeomFill_LocFunction.cdl
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 private  class LocFunction from GeomFill 
18
19         ---Purpose: 
20
21 uses 
22  LocationLaw from GeomFill,
23  Array1OfVec   from TColgp, 
24  Mat  from  gp
25
26 is 
27     Create( Law  :  LocationLaw  from  GeomFill) 
28     returns  LocFunction  from  GeomFill; 
29      
30     
31    D0(me : in  out; 
32       Param: Real;
33       First, Last : Real)
34       ---Purpose: compute the section for v = param           
35    returns Boolean; 
36         
37    D1(me : in  out;
38       Param: Real;
39       First, Last : Real)
40       ---Purpose: compute the first  derivative in v direction  of the
41       --           section for v =  param 
42    returns Boolean;
43    
44     D2(me : in  out;
45       Param: Real;
46       First, Last : Real)      
47       ---Purpose: compute the second derivative  in v direction of the
48       --          section  for v = param  
49    returns Boolean; 
50     
51    DN(me  :  in  out;
52       Param       : Real;
53       First, Last : Real; 
54       Order       :  Integer; 
55       Result      :  in  out  Real; 
56       Ier         :  out  Integer); 
57
58 fields 
59   myLaw  :  LocationLaw  from  GeomFill;
60   V,  DV,  D2V  :  Array1OfVec  from  TColgp; 
61   M,  DM,  D2M  :  Mat  from  gp;
62 end LocFunction;