Salome HOME
Bugs 20300 and 20361: Error occured during check of geometric coincidence.
[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
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