0024624: Lost word in license statement in source files
[occt.git] / src / ShapeUpgrade / ShapeUpgrade_FaceDivideArea.cdl
1 -- Created on: 2006-08-07
2 -- Created by: Galina KULIKOVA
3 -- Copyright (c) 2006-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class FaceDivideArea from ShapeUpgrade inherits FaceDivide from ShapeUpgrade
17
18         ---Purpose: Divides face by max area criterium.
19
20 uses
21     Face from TopoDS
22
23 is
24
25     Create returns FaceDivideArea from ShapeUpgrade; 
26         ---Purpose: Creates empty  constructor.
27
28     Create (F : Face from TopoDS) returns FaceDivideArea from ShapeUpgrade;
29     
30     Perform (me: mutable) returns Boolean is redefined;
31         ---Purpose: Performs splitting and computes the resulting shell
32         --          The context is used to keep track of former splittings
33     
34     MaxArea(me: mutable) returns Real;
35     ---C++: inline
36     ---C++: return &
37     ---Purpose:Set max area allowed for faces
38      
39 fields
40
41     myMaxArea : Real;
42
43 end FaceDivideArea;