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