0022627: Change OCCT memory management defaults
[occt.git] / src / BRepFill / BRepFill_CurveConstraint.cdl
1 -- File:        BRepFill_CurveConstraint.cdl
2 -- Created:     Fri Oct 31 10:54:23 1997
3 -- Author:      Joelle CHAUVET
4 --              <jct@sgi64>
5 ---Copyright:    Matra Datavision 1997
6
7 class  CurveConstraint  from  BRepFill  inherits  CurveConstraint  from  GeomPlate 
8
9 uses 
10    Pnt  from  gp,  
11    Pnt2d  from  gp,
12    Vec   from  gp,
13    HCurveOnSurface  from  Adaptor3d,  
14    HCurve  from  Adaptor3d,
15    Surface  from  Geom, 
16    Curve  from  Geom2d, 
17    Function  from  Law, 
18    SLProps from GeomLProp  
19    
20 raises   
21    ConstructionError  from  Standard
22 is 
23  
24 Create (Boundary :  HCurveOnSurface  from  Adaptor3d; 
25         Order :  Integer  from  Standard ;
26         NPt  :  Integer  from  Standard  =  10;
27         TolDist  :  Real  from  Standard  =  0.0001; 
28         TolAng  :  Real  from  Standard  =  0.01; 
29         TolCurv  :  Real  from  Standard  =  0.1
30  )  
31         returns  CurveConstraint from  BRepFill
32         raises    ConstructionError;
33         --purpose : if Order is not -1 , 0,  1,  2
34         --         
35 --- Purpose: Create a constraint
36 --  Order is the order of the constraint. The possible values for order are -1,0,1,2.
37 --  Order i means constraints Gi
38 --  Npt is the number of points associated with the constraint.
39 --  TolDist is the maximum error to satisfy for G0 constraints
40 --  TolAng is the maximum error to satisfy for G1 constraints
41 --  TolCurv is the maximum error to satisfy for G2 constraints
42 --  These errors can be replaced by laws of criterion.
43
44 Create (Boundary :  HCurve  from  Adaptor3d; 
45         Tang :  Integer  from  Standard; 
46         NPt  :  Integer  from  Standard  =  10;
47         TolDist  :  Real  from  Standard  =  0.0001)
48        returns  CurveConstraint from  BRepFill 
49         raises    ConstructionError;
50         --purpose  :  if Order  is  not  0  or  -1 
51 -- Purpose: Create a constraint
52 --  Order is the order of the constraint. The possible values for order are -1,0.
53 --  Order i means constraints Gi
54 --  Npt is the number of points associated with the constraint.
55 --  TolDist is the maximum error to satisfy for G0 constraints
56 --  These errors can be replaced by laws of criterion.
57
58 end;