Salome HOME
Copyrights update
[modules/geom.git] / src / GEOMAlgo / BlockFix_UnionFaces.cdl
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/
19 //
20 -- File:        BlockFix_UnionFaces.cdl
21 -- Created:     Tue Dec  7 17:15:42 2004
22 -- Author:      Pavel Durandin
23 --              <det@doomox>
24 ---Copyright:   Open CASCADE SA 2004
25
26
27 class UnionFaces from BlockFix
28
29 uses
30
31     Face from TopoDS,
32     Shape from TopoDS
33
34 is
35
36     Create returns UnionFaces from BlockFix;
37         ---Purpose: Empty constructor
38     
39     GetTolerance(me: in out) returns Real;
40         ---Purpose: Returns modifiable tolerance
41         ---C++: return& 
42         
43     Perform (me: in out; Shape: Shape from TopoDS) returns Shape from TopoDS;
44         ---Purpose: Performs the unification of the fsces
45         --          whith the same geometry
46         
47     IsSameDomain(me; aFace      : Face from TopoDS;
48                      aChekedFace: Face from TopoDS)
49     returns Boolean is virtual;
50         ---Purpose: Returns true is surfaces have same geometrically domain
51         --          with given tolerance
52         
53     MovePCurves(me; aTarget: in out Face from TopoDS;
54                     aSource:        Face from TopoDS)
55     is virtual;
56         ---Purpose: Creates pcurves on aTarget face for each edge from 
57         --          aSource one.
58
59 fields
60
61     myTolerance: Real;
62     
63 end;
64     
65